From b149e77a898b5becdd83351f8562b3902cfd31ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9batien=20David?= <1570879+sebastiendavid@users.noreply.github.com> Date: Thu, 27 May 2021 14:58:46 +0200 Subject: [PATCH] Fix v4.0.0 link in changelog --- CHANGELOG.md | 2 +- scripts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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` );