Compare commits

..

3 commits

4 changed files with 6 additions and 4 deletions

View file

@ -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:

View file

@ -2,7 +2,7 @@
All changes to s0-meter will be documented here. All changes to s0-meter will be documented here.
## 0.0.2 ## 0.0.2
Rename the project to "s0-meter" Rename the project to "s0-meter".
## 0.0.0 ## 0.0.0
Initial release. Initial release.

View file

@ -1,6 +1,5 @@
FROM rust:1.50-slim FROM rust:1.50-slim
# RUN apk add --no-cache musl-dev binutils-arm-none-eabi
RUN apt-get update RUN apt-get update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install binutils-arm-linux-gnueabihf musl-dev RUN apt-get -y install binutils-arm-linux-gnueabihf musl-dev