Browse Source

update drone.yml

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

+ 3
- 3
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}
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}'"
46
     - echo "'${RELEASE}'"
47
 #    - mv dist $RELEASE
47
 #    - mv dist $RELEASE
48
 #    - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;
48
 #    - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;

Loading…
Cancel
Save