fix env var handling
This commit is contained in:
parent
906756da3f
commit
ffd84577a2
@ -9,7 +9,7 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
CUPSRELEASE: "${DRONE_TAG##v}"
|
CUPSRELEASE: "${DRONE_TAG##v}"
|
||||||
commands:
|
commands:
|
||||||
- [ -z "$CUPSRELEASE" ] && CUPSRELEASE=2.2.10
|
- '[ -z "$CUPSRELEASE" ] && CUPSRELEASE=2.2.10'
|
||||||
- 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
|
||||||
- rpmbuild -ta --define "_rpmdir $(pwd)/rpms" --without libusb1 cups-$CUPSRELEASE-source.tar.gz
|
- rpmbuild -ta --define "_rpmdir $(pwd)/rpms" --without libusb1 cups-$CUPSRELEASE-source.tar.gz
|
||||||
|
Reference in New Issue
Block a user