@leverege/build-tools 2.11.0 → 2.11.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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.11.0",
3
+ "version": "2.11.2",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/dirty-git CHANGED
@@ -3,9 +3,10 @@
3
3
  CLEAN="\e[32m✔\e[0m"
4
4
  DIRTY="\e[31m✘\e[0m"
5
5
  STASH="\e[33;44m$\e[0m"
6
+ AHEAD="\e[34;42m!\e[0m"
6
7
 
7
8
  clear
8
- printf "${CLEAN} clean ${DIRTY} dirty ${STASH} stashed\n\n"
9
+ printf "${CLEAN} clean ${DIRTY} dirty ${STASH} stashed ${AHEAD} unpushed\n\n"
9
10
  for dir in $@;
10
11
  do
11
12
  [ ! -d $dir ] || [ ! -d $dir/.git ] && continue
@@ -14,6 +15,8 @@ do
14
15
  [[ `git status --porcelain` ]] && status="$DIRTY" || status="$CLEAN"
15
16
  scount=`git stash list | wc -l`
16
17
  [ $scount -gt 0 ] && stash="\e[33;44m$\e[0m" || stash=" "
18
+ ahead=`git rev-list FETCH_HEAD..HEAD --count`
19
+ [ $ahead -gt 0 ] && ahead="$AHEAD" || ahead=" "
17
20
  cd - &>/dev/null
18
- printf "${status} %-28s ${stash} %s\n" $dir $branch
21
+ printf "${status} %-28s ${stash}${ahead} %s\n" $dir $branch
19
22
  done
package/src/dockreate CHANGED
@@ -223,9 +223,7 @@ NOCONTAINER
223
223
  fi
224
224
  container=$(basename $gitremote .git)
225
225
  fi
226
- #gcimage=gcr.io/$project/$container
227
- gcimage=us-central1-docker.pkg.dev/$project/kudelski/$container
228
- gcimage=us-docker.pkg.dev/$project/leverege/$container
226
+ gcimage=gcr.io/$project/$container
229
227
 
230
228
  version=$1
231
229
  [[ -f '.previous' ]] && previous=`cat .previous` || previous='FIRST BUILD'
@@ -291,7 +289,7 @@ pluggedIn=$(colorize 'green' "no")
291
289
  [ -f "${pluginFile}" ] && pluggedIn=$(colorize 'yellow' "YES")
292
290
 
293
291
  cat<<IMGINFO
294
- LOCAL LOCAL LOCAL
292
+
295
293
  Project: $(colorize 'green' "$project")
296
294
  Container: $(colorize 'green' "$container")
297
295
  NodeImage: $(colorize 'green' "$nodeimg")