Skip to content

Commit

Permalink
fix(ci): final fix, npm version patch already commits
Browse files Browse the repository at this point in the history
  • Loading branch information
bejoinka committed Aug 2, 2024
1 parent 26f8b61 commit cd5d197
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ jobs:
npm version patch
npm run bundle
new_version=$(cat package.json | jq -r '.version')
git add .
git commit -m "ci: update tag with new version $new_version [skip ci]" && git push
git tag -a $new_version -m "ci: update tag with new version $new_version" && git push origin $new_version
git push
git tag -a $new_version -m "ci: update tag with new version $new_version" && git push --tags
echo "new_version=$new_version" >> "$GITHUB_OUTPUT"
- name: Create release
Expand Down

0 comments on commit cd5d197

Please sign in to comment.