fix env var handling
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build was killed

This commit is contained in:
Robert Kaussow 2019-08-13 22:50:06 +02:00
parent ffd44e6263
commit 8cbddbff87

View File

@ -9,6 +9,8 @@ steps:
environment: environment:
CUPSRELEASE: "${DRONE_TAG##v}" CUPSRELEASE: "${DRONE_TAG##v}"
commands: commands:
- echo "XXXXXXXXXXXXXXXXXXX"
- echo $DRONE_TAG
- 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
- rpmbuild -ta --define "_rpmdir $(pwd)/rpms" --without libusb1 cups-${CUPSRELEASE:-2.2.10}-source.tar.gz - rpmbuild -ta --define "_rpmdir $(pwd)/rpms" --without libusb1 cups-${CUPSRELEASE:-2.2.10}-source.tar.gz