[SKIP CI] fix env var handling
Some checks reported errors
continuous-integration/drone/tag Build was killed

This commit is contained in:
Robert Kaussow 2019-08-13 23:07:44 +02:00
parent ffbc2fbde7
commit b3783904c4

View File

@ -7,10 +7,9 @@ steps:
image: xoxys/rpmbuild image: xoxys/rpmbuild
pull: always pull: always
environment: environment:
CUPSRELEASE: "${DRONE_TAG##v}" RELEASE: "${DRONE_TAG##v}"
CUPSRELEASE: "${RELEASE:-2.2.10}"
commands: commands:
- echo $CUPSRELEASE
- CUPSRELEASE="${CUPSRELEASE:-2.2.10}"
- echo $CUPSRELEASE - echo $CUPSRELEASE
- wget https://github.com/apple/cups/releases/download/v${CUPSRELEASE:-2.2.10}/cups-${CUPSRELEASE:-2.2.10}-source.tar.gz - wget https://github.com/apple/cups/releases/download/v${CUPSRELEASE:-2.2.10}/cups-${CUPSRELEASE:-2.2.10}-source.tar.gz
- mkdir ./rpms - mkdir ./rpms