Browse Source

update drone.yml

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

+ 1
- 1
drone.yml View File

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}-${DRONE_REPO_BRANCH}
43
     - RELEASE=${DRONE_REPO_NAME}-${DRONE_REPO_BRANCH}
44
-#    - \[ -n "${DRONE_TAG}" \] && RELEASE=$RELEASE-${DRONE_TAG}
44
+    - test -n "${DRONE_TAG}" && RELEASE=$RELEASE-${DRONE_TAG}
45
     - echo $RELEASE
45
     - echo $RELEASE
46
 #    - mv dist $RELEASE
46
 #    - mv dist $RELEASE
47
 #    - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;
47
 #    - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;

Loading…
Cancel
Save