diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d5414ba..b430e24d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/scripts.js b/scripts.js index 69de1b20..36a681bf 100644 --- a/scripts.js +++ b/scripts.js @@ -51,7 +51,7 @@ async function prepareRelease() { const currentVersion = require('./package.json').version; const newVersion = semver.inc(currentVersion, arg || 'patch'); const { 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` );