Test releases
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0fa7c3973e
commit
2ab9820d0c
24
.drone.yml
24
.drone.yml
|
@ -22,26 +22,18 @@ steps:
|
||||||
- mv plugin tf.meow.remote.sdPlugin
|
- mv plugin tf.meow.remote.sdPlugin
|
||||||
- cd tf.meow.remote.sdPlugin
|
- cd tf.meow.remote.sdPlugin
|
||||||
- zip -r /tmp/build/tf.meow.remote.streamDeckPlugin .
|
- zip -r /tmp/build/tf.meow.remote.streamDeckPlugin .
|
||||||
- name: gitea_release
|
- name: release
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /tmp/build
|
path: /tmp/build
|
||||||
image: plugins/gitea-release
|
image: alpine:latest
|
||||||
settings:
|
environment:
|
||||||
base_url: https://git.meow.tf
|
TOKEN:
|
||||||
api_key:
|
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
files: /tmp/build/tf.meow.remote.streamDeckPlugin
|
commands:
|
||||||
title: /tmp/build/version.txt
|
- apk add --update curl
|
||||||
checksum:
|
- export VERSION=`cat /tmp/build/version.txt`
|
||||||
- md5
|
- curl -F 'server=https://git.meow.tf&token=$TOKEN&repo=$DRONE_REPO&name=$VERSION&tag_name=v$VERSION&commit=DRONE_COMMIT&assets[]=@/tmp/build/tf.meow.remote.streamDeckPlugin' https://api.meow.tf/gitea/release/publish
|
||||||
- sha1
|
|
||||||
- sha256
|
|
||||||
- sha512
|
|
||||||
- adler32
|
|
||||||
- crc32
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
temp: {}
|
temp: {}
|
Loading…
Reference in New Issue