Fix name of the binary and the config sample + deploy the config sample.
This commit is contained in:
parent
c055b72348
commit
a1aa8baf7c
2 changed files with 5 additions and 2 deletions
|
|
@ -40,7 +40,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- grep '^version = ' Cargo.toml | cut -f2 -d\" > target/VERSION
|
- grep '^version = ' Cargo.toml | cut -f2 -d\" > target/VERSION
|
||||||
- cat target/VERSION
|
- cat target/VERSION
|
||||||
- cp target/armv7-unknown-linux-musleabihf/release/s0-meter target/s0-meter-armhf-$(cat target/VERSION)
|
- cp target/armv7-unknown-linux-musleabihf/release/s0-meter target/s0-meter_$(cat target/VERSION)_armhf
|
||||||
|
- cp bundle/* target/
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
|
|
@ -69,7 +70,9 @@ steps:
|
||||||
base_url: https://gitea.kube-it.de
|
base_url: https://gitea.kube-it.de
|
||||||
title: VERSION
|
title: VERSION
|
||||||
note: CHANGELOG.md
|
note: CHANGELOG.md
|
||||||
files: /drone/src/target/s0-meter-*
|
files:
|
||||||
|
- /drone/src/target/s0-meter_*
|
||||||
|
- /drone/src/bundle/*
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
when:
|
when:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue