generator-reshow 0.17.66 → 0.17.68

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.
@@ -34,6 +34,15 @@ tag() {
34
34
  push() {
35
35
  PUSH_VERSION=${1:-$VERSION}
36
36
  LATEST_TAG=${2:-latest}
37
+ IS_LOGIN=$(echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_LOGIN" --password-stdin 2>&1)
38
+ if [ -z "${IS_LOGIN+y}" ]; then
39
+ echo "Not get login info."
40
+ exit 1
41
+ elif ! expr "${IS_LOGIN}" : ".*Succeeded.*" > /dev/null; then
42
+ echo ${IS_LOGIN}
43
+ echo "Login not Succeeded."
44
+ exit 2
45
+ fi
37
46
  if [ -z "$PUSH_VERSION" ]; then
38
47
  tag=latest
39
48
  else
@@ -45,15 +54,6 @@ push() {
45
54
  fi
46
55
  fi
47
56
  echo "* <!-- Start to push ${remoteImage}:$tag"
48
- IS_LOGIN=$(echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_LOGIN" --password-stdin 2>&1)
49
- if [ -z "${IS_LOGIN+y}" ]; then
50
- echo "Not get login info."
51
- exit 1
52
- elif ! expr "${IS_LOGIN}" : ".*Succeeded.*" > /dev/null; then
53
- echo ${IS_LOGIN}
54
- echo "Login not Succeeded."
55
- exit 2
56
- fi
57
57
  docker push ${remoteImage}:$tag
58
58
  echo "* Finish pushed -->"
59
59
  echo ""
@@ -8,6 +8,8 @@ BUILD_DEPS=""
8
8
 
9
9
  INSTALL=""
10
10
 
11
+ UPGRADE=""
12
+
11
13
  echo "###"
12
14
  echo "# Will install build tool"
13
15
  echo "###"
@@ -20,8 +22,13 @@ echo "###"
20
22
  echo ""
21
23
  echo $INSTALL
22
24
  echo ""
25
+ echo "###"
26
+ echo "# Will upgradee"
27
+ echo "###"
28
+ echo ""
29
+ echo $UPGRADE
23
30
 
24
- apk add --virtual .build-deps $BUILD_DEPS && apk add $INSTALL
31
+ apk add --virtual .build-deps $BUILD_DEPS && apk add $INSTALL --upgrade $UPGRADE
25
32
 
26
33
  #/* put your install code here */#
27
34
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.66",
2
+ "version": "0.17.68",
3
3
  "name": "generator-reshow",
4
4
  "repository": {
5
5
  "type": "git",