Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andykog authored Dec 4, 2024
1 parent 7c83542 commit 151eb71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
with:
node-version: 17
registry-url: https://registry.npmjs.org/
token: ${{ secrets.REPO_GIT_PUSH_TOKEN }}
- run: npm run bootstrap
- run: npm run build
- run: node scripts/bump-version.js
Expand All @@ -22,7 +21,8 @@ jobs:
git config --global user.email '[email protected]'
git checkout -b "bump-version-$VERSION"
git commit -am "chore: Bump version ($VERSION)"
PR_URL="$(gh pr create --title "chore: Bump version ($VERSION)") --body 'This is automatic PR to bump version'"
git push --set-upstream origin "bump-version-$VERSION"
PR_URL="$(gh pr create --title "chore: Bump version ($VERSION)" --body 'This is automatic PR to bump version')"
gh pr merge --auto -r "$PR_URL"
gh pr merge --auto
gh release create "$VERSION" \
Expand Down

0 comments on commit 151eb71

Please sign in to comment.