Skip to content

Commit

Permalink
Fix v4.0.0 link in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendavid committed May 27, 2021
1 parent 16794d9 commit b149e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [4.0.0](https://github.com/alkemics/CancelablePromise/releases/tag/4.0.0) (2021-05-27)
## [4.0.0](https://github.com/alkemics/CancelablePromise/releases/tag/v4.0.0) (2021-05-27)

- Update dependencies and add esm module

Expand Down
2 changes: 1 addition & 1 deletion scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function prepareRelease() {
const currentVersion = require('./package.json').version;
const newVersion = semver.inc(currentVersion, arg || 'patch');
const { date } = /(?<date>\d+-\d+-\d+)/.exec(new Date().toISOString()).groups;
const url = `https://github.com/alkemics/CancelablePromise/releases/tag/${newVersion}`;
const url = `https://github.com/alkemics/CancelablePromise/releases/tag/v${newVersion}`;
const { stdout } = await exec(
`git log --oneline --pretty=format:'- %s' origin/master..HEAD`
);
Expand Down

0 comments on commit b149e77

Please sign in to comment.