Skip to content

Commit

Permalink
added publishCmdSuffix config option.
Browse files Browse the repository at this point in the history
  • Loading branch information
muratgozel committed Sep 28, 2021
1 parent 7b981cf commit 628e947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-releaser",
"version": "0.4.0",
"version": "0.4.1",
"description": "Automated versioning and package publishing tool. Supports semver and calver. Extendible with plugins.",
"main": "src/index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function npm() {
if (!this.config.get('npm.publish')) return

try {
const cmd = 'npm publish ' + config.get('publishCmdSuffix')
const cmd = 'npm publish ' + this.config.get('publishCmdSuffix')
execSync(cmd, {stdio: 'inherit', encoding: 'utf8'})
} catch (e) {
throw e
Expand Down

0 comments on commit 628e947

Please sign in to comment.