Skip to content

Commit

Permalink
Merge pull request #662 from oasisprotocol/mz/changelog
Browse files Browse the repository at this point in the history
Fix changelog major and minor patterns
  • Loading branch information
buberdds authored Jul 5, 2023
2 parents 508494b + 480a4f6 commit a567f49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .changelog/662.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix changelog major and minor patterns
4 changes: 2 additions & 2 deletions internals/scripts/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const glob = require('glob')
const packageJson = require('../../package.json')

const folderPath = '.changelog/'
const majorPattern = `${folderPath}'*breaking*.md'`
const minorPattern = `${folderPath}'*feature*.md'`
const majorPattern = `${folderPath}*breaking*.md`
const minorPattern = `${folderPath}*feature*.md`
const patchPattern = `${folderPath}*{process,cfg,bugfix,doc,internal,trivial}*.md`

console.log('Assembling Change Log and updating package version')
Expand Down

0 comments on commit a567f49

Please sign in to comment.