Skip to content

Commit

Permalink
update action to release on tag
Browse files Browse the repository at this point in the history
chelnak committed Sep 1, 2021

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent 4671738 commit 82446f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ jobs:
GITVERSION_MAJORMINORPATCH: ${{ steps.gitversion.outputs.majorMinorPatch }}

- name: Build Changelog 📝
if: ${{ github.ref == 'refs/heads/main' }}
if: startsWith(github.ref, 'refs/tags/v')
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v1
with:
@@ -77,7 +77,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release 🚀
if: ${{ github.ref == 'refs/heads/main' }}
if: startsWith(github.ref, 'refs/tags/v')
id: create_release
uses: ncipollo/release-action@v1
with:

0 comments on commit 82446f2

Please sign in to comment.