|
|
@@ -40,7 +40,7 @@ steps:
|
|
40
|
40
|
- cp -rp html/. dist/var/www/html/gamma/
|
|
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
|
|
- - RELEASE=${DRONE_REPO_NAME}-${DRONE_BRANCH}${DRONE_TAG}
|
|
|
43
|
+ - RELEASE=${DRONE_REPO_NAME}-${DRONE_REPO_BRANCH}-${DRONE_TAG}
|
|
44
|
44
|
- mv dist $RELEASE
|
|
45
|
45
|
- ls -la $RELEASE
|
|
46
|
46
|
- find $RELEASE -type f -exec md5sum '{}' \;
|
|
|
@@ -60,7 +60,7 @@ steps:
|
|
60
|
60
|
event: [ tag ]
|
|
61
|
61
|
depends_on: [ build ]
|
|
62
|
62
|
settings:
|
|
63
|
|
- title: ${DRONE_REPO_NAME} ${DRONE_BRANCH}-${DRONE_TAG} ${DRONE_OS}-${DRONE_ARCH} # file or string
|
|
|
63
|
+ title: Release ${DRONE_REPO_NAME} ${DRONE_REPO_BRANCH}-${DRONE_TAG} # file or string
|
|
64
|
64
|
note: RELEASE.md # file or string
|
|
65
|
65
|
draft: false
|
|
66
|
66
|
prerelease: false
|