@leverege/build-tools 2.32.1 → 2.32.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -613,9 +613,11 @@ if (config.publishable) {
613
613
  config.npmjsTag = args['npmjs-tag'] || (await promptForNpmjsTag(config));
614
614
  }
615
615
  displayReleaseInfo(config);
616
- const confirmResponse = await confirmTagRelease(config);
617
- if (confirmResponse === 'yes') {
618
- config.noConfirm = true;
616
+ if (!config.noConfirm) {
617
+ const confirmResponse = await confirmTagRelease(config);
618
+ if (confirmResponse === 'yes') {
619
+ config.noConfirm = true;
620
+ }
619
621
  }
620
622
  if (!config.noCommit) {
621
623
  await commitAndPushNewBuild(config);
@@ -613,9 +613,11 @@ if (config.publishable) {
613
613
  config.npmjsTag = args['npmjs-tag'] || (await promptForNpmjsTag(config));
614
614
  }
615
615
  displayReleaseInfo(config);
616
- const confirmResponse = await confirmTagRelease(config);
617
- if (confirmResponse === 'yes') {
618
- config.noConfirm = true;
616
+ if (!config.noConfirm) {
617
+ const confirmResponse = await confirmTagRelease(config);
618
+ if (confirmResponse === 'yes') {
619
+ config.noConfirm = true;
620
+ }
619
621
  }
620
622
  if (!config.noCommit) {
621
623
  await commitAndPushNewBuild(config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.32.1",
3
+ "version": "2.32.2",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -618,9 +618,11 @@ if ( config.publishable ) {
618
618
 
619
619
  displayReleaseInfo( config )
620
620
 
621
- const confirmResponse = await confirmTagRelease( config )
622
- if ( confirmResponse === 'yes' ) {
623
- config.noConfirm = true
621
+ if ( !config.noConfirm ) {
622
+ const confirmResponse = await confirmTagRelease( config )
623
+ if ( confirmResponse === 'yes' ) {
624
+ config.noConfirm = true
625
+ }
624
626
  }
625
627
 
626
628
  if ( !config.noCommit ) { await commitAndPushNewBuild( config ) }