Skip to content

Commit

Permalink
ci: Only update release on main branch or tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
felinira committed Jul 25, 2024
1 parent dbfe095 commit b4632ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ jobs:
pattern: "magic-wormhole-cli-*"
- name: Update Release
uses: softprops/action-gh-release@v2
if: ${{ startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/main') }}
with:
name: "Version ${{ steps.query-version.outputs.version }}"
body: ${{ steps.query-changelog.outputs.release-notes }}
Expand Down

0 comments on commit b4632ac

Please sign in to comment.