Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
1. Changed --message to -m for the message flag
2. Added -d flag (deferred) to ensure proper version bumping behavior with Yarn 2+
  • Loading branch information
ODORA0 authored Jan 28, 2025
1 parent af04143 commit 17bcd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
echo "Bumping patch version for main branch..."
git pull origin main
yarn plugin import version
yarn version patch --message "chore: bump version to %s [skip ci]"
yarn version patch -d -m "chore: bump version to %s [skip ci]"
echo "Version bumped to: $(node -p \"require('./package.json').version\")"
git push --follow-tags
echo "Publishing patch release to NPM..."
Expand Down

0 comments on commit 17bcd77

Please sign in to comment.