@leverege/build-tools 2.2.0 → 2.2.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/helmup +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/helmup CHANGED
@@ -367,9 +367,10 @@ function doInstall() {
367
367
  if [ -z "$CHARTVER" ];
368
368
  then
369
369
  for PARAM in $SERVICE/.chart-?.?.?; do
370
- IFS="-" read JUNK VERSION <<< "$PARAM"
370
+ IFS="-" read -ra ARY <<< "$PARAM"
371
+ VERSION="${ARY[*]: -1}"
371
372
  [ $VERSION != "?.?.?" ] && CHARTVER=$VERSION
372
- printf "PARAM=[$PARAM] SVC=[$SERVICE] CHT=[$CHARTVER]\n"
373
+ #printf "PARAM=[$PARAM] SVC=[$SERVICE] CHT=[$CHARTVER]\n"
373
374
  break
374
375
  done
375
376
  fi