generator-reshow 0.17.68 → 0.17.69

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.
@@ -31,9 +31,7 @@ tag() {
31
31
  echo "* Finish tag -->"
32
32
  }
33
33
 
34
- push() {
35
- PUSH_VERSION=${1:-$VERSION}
36
- LATEST_TAG=${2:-latest}
34
+ login() {
37
35
  IS_LOGIN=$(echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_LOGIN" --password-stdin 2>&1)
38
36
  if [ -z "${IS_LOGIN+y}" ]; then
39
37
  echo "Not get login info."
@@ -43,6 +41,12 @@ push() {
43
41
  echo "Login not Succeeded."
44
42
  exit 2
45
43
  fi
44
+ }
45
+
46
+ push() {
47
+ login
48
+ PUSH_VERSION=${1:-$VERSION}
49
+ LATEST_TAG=${2:-latest}
46
50
  if [ -z "$PUSH_VERSION" ]; then
47
51
  tag=latest
48
52
  else
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.68",
2
+ "version": "0.17.69",
3
3
  "name": "generator-reshow",
4
4
  "repository": {
5
5
  "type": "git",