Compare commits

..

3 Commits

Author SHA1 Message Date
Tyler bdb38fbb10 Only upload *.tgz and *.deb to releases
continuous-integration/drone/push Build is passing Details
2019-12-29 22:13:24 -05:00
Tyler d2deb7a4ba Only upload *.tgz and *.deb to releases 2019-12-29 22:12:42 -05:00
Tyler 4976cdf4d4 Fix package paths
continuous-integration/drone/push Build is passing Details
2019-12-29 22:06:58 -05:00
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ steps:
- name: build - name: build
path: /build path: /build
commands: commands:
- export VERSION="1.2.3" - export VERSION="1.2.5"
- echo $VERSION > /build/version.txt - echo $VERSION > /build/version.txt
- echo "v$VERSION" > /build/release-version.txt - echo "v$VERSION" > /build/release-version.txt
- npm install - npm install
@ -35,7 +35,7 @@ steps:
gitea_server: https://git.meow.tf gitea_server: https://git.meow.tf
tag_file: /build/release-version.txt tag_file: /build/release-version.txt
title_file: /build/release-version.txt title_file: /build/release-version.txt
files: [ '/build/*' ] files: [ '/build/*.tgz', '/build/*.deb' ]
environment: environment:
PLUGIN_API_KEY: PLUGIN_API_KEY:
from_secret: gitea_token from_secret: gitea_token

View File

@ -6,4 +6,4 @@ fpm -s dir -t deb -p /build/arm-web_$VERSION.deb \
-m "cats <admin@meow.tf>" --vendor "Meow.tf" \ -m "cats <admin@meow.tf>" --vendor "Meow.tf" \
--url "https://meow.tf" \ --url "https://meow.tf" \
packaging/arm.conf=/etc/nginx/conf.d/arm.conf \ packaging/arm.conf=/etc/nginx/conf.d/arm.conf \
/build/dist=/var/lib/arm/web /build/dist/=/var/lib/arm/web/