Skip to content

Commit

Permalink
Update release-to-npm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ohswedd committed Nov 30, 2024
1 parent b4f9fd6 commit 0a749dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ jobs:
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout ${{ github.ref_name }}
git add package.json CHANGELOG.md
git commit -m "chore(release): ${GITHUB_REF#refs/tags/} [skip ci]"
git push
git commit -m "chore(release): ${GITHUB_REF#refs/tags/} [skip ci]" || echo "No changes to commit"
git push origin ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0a749dc

Please sign in to comment.