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 - 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: {}