fix env var handling
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-08-13 22:38:52 +02:00
parent d5d9a2ad56
commit a1711f763f

View File

@ -7,7 +7,7 @@ steps:
image: xoxys/rpmbuild image: xoxys/rpmbuild
pull: always pull: always
environment: environment:
CUPSRELEASE: "2.2.10" CUPSRELEASE: "${DRONE_TAG##v:-2.2.10}"
commands: commands:
- wget https://github.com/apple/cups/releases/download/v$CUPSRELEASE/cups-$CUPSRELEASE-source.tar.gz - wget https://github.com/apple/cups/releases/download/v$CUPSRELEASE/cups-$CUPSRELEASE-source.tar.gz
- mkdir ./rpms - mkdir ./rpms
@ -22,8 +22,6 @@ steps:
pull: always pull: always
commands: commands:
- apk add --no-cache coreutils - apk add --no-cache coreutils
# exclude files
# - sha256sum -b files/!(*.out) > CHECKSUMFILE
- sha256sum -b rpms/x86_64/* > sha256sum.txt - sha256sum -b rpms/x86_64/* > sha256sum.txt
when: when:
event: event: