fix: ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
s3lph 2023-07-29 21:04:19 +02:00
parent 376cfaf885
commit f4587b4817

View file

@ -1,6 +1,6 @@
--- ---
pipeline: steps:
compile: compile:
image: golang:1.19 image: golang:1.19
@ -21,6 +21,10 @@ pipeline:
group: package group: package
when: when:
- event: tag - event: tag
secrets:
- GITEA_API_USERNAME
- GITEA_API_PASSWORD
- GITEA_API_REPOSITORY_DEB
commands: commands:
- apt update; apt install -y lintian sudo curl git - apt update; apt install -y lintian sudo curl git
- export EXPORTER_VERSION=$(git describe --tags --dirty | sed -re s/^v// | cut -d- -f1) - export EXPORTER_VERSION=$(git describe --tags --dirty | sed -re s/^v// | cut -d- -f1)