@leverege/build-tools 2.61.4 → 2.61.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.61.4",
3
+ "version": "2.61.5",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/Docker.mjs CHANGED
@@ -203,7 +203,7 @@ const buildContainerImage = async ( {
203
203
  setPreviousBuild( imageVersion ) // update docker/.previous file
204
204
 
205
205
  const { fullName : builderName } = await getGcpAccount()
206
- const gcloudBuild = `time gcloud builds submit --project ${artifactProject}`
206
+ const gcloudBuild = `gcloud builds submit --project ${artifactProject}`
207
207
  const gcloudLogs = `--gcs-log-dir ${formCloudBuildBucketName( artifactProject )}/log`
208
208
  let gcloudTags = `--tag ${imageName}:${imageVersion}`
209
209
 
package/src/Utils.mjs CHANGED
@@ -54,6 +54,10 @@ export const isString = ( s ) => {
54
54
  * General "yes" to proceed function.
55
55
  */
56
56
  export const proceed = async ( query = 'Do you wish to proceed?' ) => {
57
+ if ( process.env.CICD_PIPELINE === '1' ) {
58
+ log( '\n*** CICD Pipeline - skipping user prompts' )
59
+ return
60
+ }
57
61
  await inquirer.prompt( [
58
62
  {
59
63
  type : 'confirm',