Skip to content

Commit

Permalink
fix: push release commit as last step
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Aug 6, 2024
1 parent 4e2a1be commit d101203
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ jobs:
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add CHANGELOG.md package.json
git commit -m "chore(release): ${{ steps.semrel.outputs.version }}"
git push https://${{ secrets.SEMANTIC_RELEASE_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main
- name: Install pnpm
if: steps.semrel.outputs.version != ''
Expand Down Expand Up @@ -194,4 +193,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: ${{ steps.semrel.outputs.version }}
files: guitos.zip
files: guitos.zip

- name: Push changelog & package.json updates
if: steps.semrel.outputs.version != ''
run: git push https://${{ secrets.SEMANTIC_RELEASE_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main

0 comments on commit d101203

Please sign in to comment.