Skip to content

Commit

Permalink
🔨 Generate changelog also bumps the npm version (#2789)
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz authored Mar 13, 2022
1 parent 4bad960 commit 0cef964
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/publish-version.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/scripts/generate-changelog.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ async function run({ nextVersion, shortDescription }) {
await execFile('git', ['checkout', '-b', branchName]);
await execFile('git', ['add', changelogFilename]);
await execFile('git', ['commit', '-m', commitName]);
await execFile('npm', ['version', '--no-git-tag-version', nextVersion]);
await execFile('git', ['push', '--set-upstream', 'origin', branchName]);

// Return useful details
Expand Down

0 comments on commit 0cef964

Please sign in to comment.