Skip to content

Commit

Permalink
Merge pull request #44 from sebastiendavid/esm
Browse files Browse the repository at this point in the history
Fix v4.0.0 link in changelog
  • Loading branch information
sebdvd authored May 27, 2021
2 parents 16794d9 + b149e77 commit 321e6be
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 321e6be

Please sign in to comment.