Skip to content

Commit

Permalink
Merge branch 'main' into delucis/feat/p2p
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Sep 13, 2021
2 parents ffec598 + e4fe528 commit b78221d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/changelog.js
Expand Up @@ -30,7 +30,7 @@ const isFeature = (s) => /feat(\(\w+\))?:/.test(s);
const isUninformative = (s) =>
/(test|style|chore|docs|ci)(\([\w-]+\))?:/.test(s);
/** Tests if this commit just bumped the version (via `npm version`). */
const isVersionBump = (s) => /^\w{8} \d+\.\d+\.\d+$/.test(s);
const isVersionBump = (s) => /^\w+\s\d+\.\d+\.\d+$/.test(s);

const changes = shell
.exec(`git log --oneline "${PREVIOUS_TAG}"..`)
Expand All @@ -51,7 +51,7 @@ const formatChanges = (changes) =>
.replace(/[a-z]+\((\w+)\)/, '$1')
// Linkify commit refs.
.replace(
/^(\w{8})/,
/^(\w+)/,
'* [[$1](https://github.com/boardgameio/boardgame.io/commit/$1)]'
)
// Linkify PR references.
Expand Down

0 comments on commit b78221d

Please sign in to comment.