[SKIP CI] fix env var handling
continuous-integration/drone/tag Build was killed Details

This commit is contained in:
Robert Kaussow 2019-08-13 23:07:44 +02:00
parent ffbc2fbde7
commit b3783904c4
1 changed files with 2 additions and 3 deletions

View File

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