diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32ca186..a422728 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,10 +2,9 @@ name: Release Packed Application on: push: - branches: [ main ] - pull_request: - branches: [ main ] - + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 jobs: build: @@ -35,6 +34,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: + tag_name: ${{ github.ref }} release_name: ${{ github.ref }} body: | ${{ github.ref }} View README for more information.