diff --git a/.drone.yml b/.drone.yml index 1bc5459..29b6fd1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,9 +11,9 @@ steps: image: thegeeklab/rpmbuild:7 commands: - source /drone/src/.drone.env - - echo "https://github.com/OpenPrinting/cups/releases/download/$${CUPS_VERSION}/cups-$${CUPS_VERSION##v}-source.tar.gz" - - wget -q "https://github.com/OpenPrinting/cups/releases/download/$${CUPS_VERSION}/cups-$${CUPS_VERSION##v}-source.tar.gz" - - rpmbuild -ta --without libusb1 cups-$${CUPS_VERSION##v}-source.tar.gz + - mkdir -p /drone/src/source + - curl -sSL "https://github.com/OpenPrinting/cups/releases/download/$${CUPS_VERSION}/cups-$${CUPS_VERSION##v}-source.tar.gz" | tar xz -C /drone/src/source --strip-components=1 + - cd /drone/src/source && make rpm - name: checksum image: thegee @@ -93,6 +93,6 @@ depends_on: --- kind: signature -hmac: b4923bb7f5aa35db11986451b012a5e3e123aa76104a3e4a0c7a009778dc2c5d +hmac: b41b3fbbc1076a7a9d6680145b13494c05f686722bfaa5fd21278d1f3c7b3f51 ...