This commit is contained in:
peter
2019-08-03 13:50:46 +02:00
parent 4edf6c1a7f
commit d9ccd4d9d3
76 changed files with 22035 additions and 1902 deletions
+5 -12
View File
@@ -41,32 +41,25 @@ steps:
repo: registry.frontblock.me/vendor/admin
tags: ${DRONE_BUILD_CREATED}
- name: archive static files
- name: archive plugin files
image: alpine:3.9
commands:
- apk add --no-cache zip tar
- mkdir dist
- zip -9r ./dist/${DRONE_REPO_NAME}.zip static
- tar -czf ./dist/${DRONE_REPO_NAME}.tar.gz static
- apk add --no-cache zip
- zip -9r ./dist/plugin.zip static
when:
event:
- tag
- name: release static files
- name: release plugin archive
image: plugins/gitea-release
settings:
base_url: https://gitea.frontblock.me
api_key:
from_secret: release_token
files:
- dist/*
- plugin.zip
checksum:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32
when:
event:
- tag