Browse Source

update drone.yml

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

+ 2
- 2
drone.yml View File

@@ -41,8 +41,8 @@ steps:
41 41
 #    - mkdir -p dist/etc/nginx/snippets
42 42
 #    - cp -p config/nginx-datasrc-location.conf dist/etc/nginx/snippets/nginx-datasrc-location.conf
43 43
     - RELEASE=${DRONE_REPO_NAME}
44
-    - \[ -n "${DRONE_REPO_BRANCH}" \] && RELEASE=${RELEASE}-${DRONE_REPO_BRANCH}
45
-    - \[ -n "${DRONE_TAG}" \] && RELEASE=${RELEASE}-${DRONE_TAG}
44
+    - \[ -n "${DRONE_REPO_BRANCH}" \] && RELEASE=$RELEASE-${DRONE_REPO_BRANCH}
45
+    - \[ -n "${DRONE_TAG}" \] && RELEASE=$RELEASE-${DRONE_TAG}
46 46
     - echo "'${RELEASE}'"
47 47
 #    - mv dist $RELEASE
48 48
 #    - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;

Loading…
Cancel
Save