Ver código fonte

update drone.yml

tags/v0.0.19
Peter Vivell 6 anos atrás
pai
commit
5818130662
1 arquivos alterados com 6 adições e 1 exclusões
  1. 6
    1
      drone.yml

+ 6
- 1
drone.yml Ver arquivo

@@ -5,6 +5,8 @@ platform:
5 5
   os: linux
6 6
   arch: amd64
7 7
 
8
+# https://readme.drone.io/user-guide/pipeline/
9
+# https://github.com/drone/drone
8 10
 steps:
9 11
 - name: build
10 12
   image: debian:stable-slim
@@ -37,6 +39,7 @@ steps:
37 39
     - cp -rp html/. dist/var/www/html/gamma/
38 40
     - mkdir -p dist/etc/nginx/snippets
39 41
     - cp -p config/nginx-datasrc-location.conf dist/etc/nginx/snippets/nginx-datasrc-location.conf
42
+    - RELEASE=$RELEASE-${TAG}
40 43
     - mv dist $RELEASE
41 44
     - ls -la $RELEASE
42 45
     - find $RELEASE -type f -exec md5sum '{}' \;
@@ -46,8 +49,10 @@ steps:
46 49
     - tar -cJvf release/$RELEASE.tar.xz $RELEASE
47 50
     - ls -la release
48 51
     - find release -type f -exec md5sum '{}' \;
49
-    - echo "Build finished."
52
+    - echo "Build finished successfully."
50 53
 
54
+# http://plugins.drone.io/drone-plugins/drone-gitea-release/
55
+# https://github.com/drone-plugins/drone-gitea-release
51 56
 - name: release
52 57
   image: plugins/gitea-release
53 58
   when:

Carregando…
Cancelar
Salvar