Skip to content

Commit

Permalink
Fix release trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed May 25, 2024
1 parent ff5f6eb commit b16e77d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/buildapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

- name: Read CHANGELOG.md
id: changelog
if: github.ref == 'refs/heads/master'
if: startsWith(github.event.ref, 'refs/tags')
env:
GITHUB_REF: ${{ github.ref }}
run: |
Expand All @@ -111,7 +111,7 @@ jobs:
- name: Create Release
id: create_release
if: github.ref == 'refs/heads/master'
if: startsWith(github.event.ref, 'refs/tags')
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -124,7 +124,7 @@ jobs:

- name: Upload Release Asset
id: upload-release-asset
if: github.ref == 'refs/heads/master'
if: startsWith(github.event.ref, 'refs/tags')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit b16e77d

Please sign in to comment.