diff --git a/.drone.yml b/.drone.yml index e46fc85..277d50f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,10 +10,10 @@ steps: environment: CUPSRELEASE: "2.2.10" commands: - - pwd - yum install -y gnutls-devel pam-devel dbus-devel avahi-devel systemd-devel - wget https://github.com/apple/cups/releases/download/v$CUPSRELEASE/cups-$CUPSRELEASE-source.tar.gz - - rpmbuild -ta --without libusb1 cups-$CUPSRELEASE-source.tar.gz + - mkdir ./rpms + - rpmbuild -ta --define "_rpmdir $(pwd)/rpms" --without libusb1 cups-$CUPSRELEASE-source.tar.gz when: event: - push @@ -26,7 +26,7 @@ steps: - apk add --no-cache coreutils # exclude files # - sha256sum -b files/!(*.out) > CHECKSUMFILE - - sha256sum -b rpmbuild/RPMS/x86_64/* > sha256sum.txt + - sha256sum -b rpms/* > sha256sum.txt when: event: - push @@ -42,7 +42,7 @@ steps: from_secret: gpgsign_passphrase detach_sign: true files: - - rpmbuild/RPMS/x86_64/* + - rpms/* when: event: - push @@ -54,7 +54,7 @@ steps: # api_key: # from_secret: github_token # files: - # - rpmbuild/RPMS/x86_64/* + # - rpms/* # - sha256sum.txt # title: $${DRONE_TAG} # when: