Browse Source

update drone.yml

tags/v0.0.20
Peter Vivell 6 years ago
parent
commit
e92633fa91
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      drone.yml

+ 3
- 4
drone.yml View File

40
 #    - cp -rp html/. dist/var/www/html/gamma/
40
 #    - cp -rp html/. dist/var/www/html/gamma/
41
 #    - mkdir -p dist/etc/nginx/snippets
41
 #    - mkdir -p dist/etc/nginx/snippets
42
 #    - cp -p config/nginx-datasrc-location.conf dist/etc/nginx/snippets/nginx-datasrc-location.conf
42
 #    - cp -p config/nginx-datasrc-location.conf dist/etc/nginx/snippets/nginx-datasrc-location.conf
43
-    - RELEASE=${DRONE_REPO_NAME}
44
-    - \[ -n "${DRONE_REPO_BRANCH}" \] && RELEASE=$RELEASE-${DRONE_REPO_BRANCH}
45
-    - \[ -n "${DRONE_TAG}" \] && RELEASE=$RELEASE-${DRONE_TAG}
46
-    - echo "'$RELEASE'"
43
+    - RELEASE=${DRONE_REPO_NAME}-${DRONE_REPO_BRANCH}
44
+#    - \[ -n "${DRONE_TAG}" \] && RELEASE=$RELEASE-${DRONE_TAG}
45
+    - echo $RELEASE
47
 #    - mv dist $RELEASE
46
 #    - mv dist $RELEASE
48
 #    - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;
47
 #    - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;
49
 #    - rm -rf release ; mkdir release
48
 #    - rm -rf release ; mkdir release

Loading…
Cancel
Save