generator-reshow 0.17.82 → 0.17.83

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.
@@ -7,6 +7,7 @@ DIR="$(
7
7
 
8
8
  localImage=$(${DIR}/support/localImage.sh)
9
9
  remoteImage=$(${DIR}/support/remoteImage.sh)
10
+ dockerHubImage=$(DOCKER_HUB=1 support/remoteImage.sh)
10
11
  archiveFile=$DIR/archive.tar
11
12
  VERSION=$(${DIR}/support/VERSION.sh)
12
13
  ALT_VERSION=$(${DIR}/support/ALT_VERSION.sh)
@@ -65,8 +66,12 @@ updateDockerHubDesc() {
65
66
  full_description=$(jq -s -R . README.md)
66
67
  fi
67
68
  data="{\"full_description\": ${full_description:-""} }"
69
+ URL=https://hub.docker.com/v2/repositories/${dockerHubImage:-$remoteImage}
70
+ echo
71
+ echo $URL
72
+ echo
68
73
  RESULT=$(
69
- curl -kX PATCH https://hub.docker.com/v2/repositories/${remoteImage} \
74
+ curl -kX PATCH $URL \
70
75
  -H "Content-Type: application/json" \
71
76
  -H "Authorization: JWT $token" \
72
77
  -d "$data"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.82",
2
+ "version": "0.17.83",
3
3
  "name": "generator-reshow",
4
4
  "repository": {
5
5
  "type": "git",