From 26459a3dd5ffd387ecba7455266451236bc973c4 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 9 Feb 2019 15:47:13 +0100 Subject: [PATCH] fix cups release --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 540a715..6031a07 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,10 +7,12 @@ steps: image: xoxys/rpmbuild-centos7 user: root pull: always + environment: + CUPSRELEASE: "2.2.10" commands: - yum install -y gnutls-devel pam-devel dbus-devel avahi-devel systemd-devel - - wget https://github.com/apple/cups/releases/download/v2.2.10/cups-2.2.10-source.tar.gz - - rpmbuild -ta --without libusb1 cups-2.2.10-source.tar.bz2 + - wget https://github.com/apple/cups/releases/download/v$CUPSRELEASE/cups-$CUPSRELEASE-source.tar.gz + - rpmbuild -ta --without libusb1 cups-$CUPSRELEASE-source.tar.gz when: event: - push