Don't tar / zip release (#7). #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release on Tag | |
on: | |
push: | |
tags: | |
- 'v*' # Triggers on any tag that starts with 'v' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # Needed for creating releases | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Important for getting all tags | |
- name: Create Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: Release ${{ github.ref_name }} | |
generate_release_notes: true # Generate release notes automatically from commits | |
prerelease: ${{ contains(github.ref, '-') }} # Allows marking a pre-release based on tag format (e.g., v1.0.0-beta) |