@leverege/build-tools 2.0.1 → 2.0.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.
@@ -312,7 +312,12 @@ echo "Creating Docker Image for $gcimage:$version"
312
312
  echo " Building the workspace"
313
313
 
314
314
  # use kaniko to cache builds
315
- [ "$USE_KANIKO" == "yes" ] && gcloud config set builds/use_kaniko True
315
+ if [ "$USE_KANIKO" == "yes" ];
316
+ then
317
+ gcloud config set builds/use_kaniko True
318
+ else
319
+ gcloud config unset builds/use_kaniko
320
+ fi
316
321
 
317
322
  # submit the build request to gcloud
318
323
  gcloud builds submit --tag $gcimage:$version .
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A package for development build tools.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/dockreate CHANGED
@@ -312,7 +312,12 @@ echo "Creating Docker Image for $gcimage:$version"
312
312
  echo " Building the workspace"
313
313
 
314
314
  # use kaniko to cache builds
315
- [ "$USE_KANIKO" == "yes" ] && gcloud config set builds/use_kaniko True
315
+ if [ "$USE_KANIKO" == "yes" ];
316
+ then
317
+ gcloud config set builds/use_kaniko True
318
+ else
319
+ gcloud config unset builds/use_kaniko
320
+ fi
316
321
 
317
322
  # submit the build request to gcloud
318
323
  gcloud builds submit --tag $gcimage:$version .