From b3783904c44326f41258a923bd1b1295f2884054 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 13 Aug 2019 23:07:44 +0200 Subject: [PATCH] [SKIP CI] fix env var handling --- .drone.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index f014b57..3b478c1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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