Skip to content

Commit 758f6b1

Browse files
committed
feat: Add ability to set release candidate pre-id
1 parent 53cce48 commit 758f6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const standardChangelog = require('standard-changelog')
1313

1414
const PACKAGE_PATH = `${ process.env.PWD }/package.json`
1515
, CHANGELOG_PATH = `${ process.env.PWD }/CHANGELOG.md`
16-
, RC_PREID = 'rc'
16+
, RC_PREID = process.env.RELEASE_CANDIDATE_PREID || 'rc'
1717

1818
const VERSION = require(PACKAGE_PATH).version
1919

0 commit comments

Comments
 (0)