Test releases
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler 2019-05-21 23:44:26 -04:00
parent 0fa7c3973e
commit 2ab9820d0c
1 changed files with 8 additions and 16 deletions

View File

@ -22,26 +22,18 @@ steps:
- mv plugin tf.meow.remote.sdPlugin
- cd tf.meow.remote.sdPlugin
- zip -r /tmp/build/tf.meow.remote.streamDeckPlugin .
- name: gitea_release
- name: release
volumes:
- name: cache
path: /tmp/build
image: plugins/gitea-release
settings:
base_url: https://git.meow.tf
api_key:
image: alpine:latest
environment:
TOKEN:
from_secret: gitea_token
files: /tmp/build/tf.meow.remote.streamDeckPlugin
title: /tmp/build/version.txt
checksum:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32
when:
event: tag
commands:
- apk add --update curl
- export VERSION=`cat /tmp/build/version.txt`
- 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
volumes:
- name: cache
temp: {}