Compare commits

...

5 Commits

Author SHA1 Message Date
Tyler d9a3ace7c8 Fix title file
continuous-integration/drone/push Build is passing Details
2019-05-29 22:30:42 -04:00
Tyler d75639846c Fix build version for tag
continuous-integration/drone/push Build is passing Details
2019-05-29 22:15:39 -04:00
Tyler f6e662de2c Use new drone plugin for releases
continuous-integration/drone/push Build is failing Details
2019-05-29 21:52:51 -04:00
Tyler 3d4f563e37 Correct packaging to use the folder of the plugin
continuous-integration/drone/push Build is passing Details
2019-05-22 12:20:57 -04:00
Tyler 561e5b443e [ci skip] Update name to include v 2019-05-22 00:11:08 -04:00
2 changed files with 10 additions and 10 deletions

View File

@ -18,22 +18,22 @@ steps:
commands: commands:
- apk add --update zip jq - apk add --update zip jq
- cp /tmp/build/remote.exe /tmp/build/remote plugin/ - cp /tmp/build/remote.exe /tmp/build/remote plugin/
- cat plugin/manifest.json | jq -r '.Version' > /tmp/build/version.txt - VERSION=`cat plugin/manifest.json | jq -r '.Version'`
- echo "v$VERSION" > /tmp/build/version.txt
- mv plugin tf.meow.remote.sdPlugin - mv plugin tf.meow.remote.sdPlugin
- cd tf.meow.remote.sdPlugin - zip -r /tmp/build/tf.meow.remote.streamDeckPlugin tf.meow.remote.sdPlugin
- zip -r /tmp/build/tf.meow.remote.streamDeckPlugin .
- name: release - name: release
volumes: volumes:
- name: cache - name: cache
path: /tmp/build path: /tmp/build
image: alpine:latest image: tystuyfzand/drone-gitea-release
settings:
tag_file: /tmp/build/version.txt
title_file: /tmp/build/version.txt
files: [ '/tmp/build/tf.meow.remote.streamDeckPlugin' ]
environment: environment:
TOKEN: PLUGIN_API_KEY:
from_secret: gitea_token from_secret: gitea_token
commands:
- apk add --update curl
- export VERSION=`cat /tmp/build/version.txt`
- curl -F "server=https://git.meow.tf" -F "token=$TOKEN" -F "repo=$DRONE_REPO" -F "name=$VERSION" -F "tag_name=v$VERSION" -F "commit=$DRONE_COMMIT" -F "assets[]=@/tmp/build/tf.meow.remote.streamDeckPlugin" https://api.meow.tf/gitea/release/publish
volumes: volumes:
- name: cache - name: cache
temp: {} temp: {}

View File

@ -51,7 +51,7 @@
"Name": "Remote", "Name": "Remote",
"Icon": "images/pluginIcon", "Icon": "images/pluginIcon",
"URL": "https://www.elgato.com/gaming/stream-deck", "URL": "https://www.elgato.com/gaming/stream-deck",
"Version": "1.2.2", "Version": "1.2.5",
"SDKVersion": 2, "SDKVersion": 2,
"OS": [ "OS": [
{ {