set rpm destination
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-02-09 15:58:14 +01:00
parent f5a74f47d9
commit cc920b8a37

View File

@ -10,10 +10,10 @@ steps:
environment: environment:
CUPSRELEASE: "2.2.10" CUPSRELEASE: "2.2.10"
commands: commands:
- pwd
- yum install -y gnutls-devel pam-devel dbus-devel avahi-devel systemd-devel - 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 - 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: when:
event: event:
- push - push
@ -26,7 +26,7 @@ steps:
- apk add --no-cache coreutils - apk add --no-cache coreutils
# exclude files # exclude files
# - sha256sum -b files/!(*.out) > CHECKSUMFILE # - sha256sum -b files/!(*.out) > CHECKSUMFILE
- sha256sum -b rpmbuild/RPMS/x86_64/* > sha256sum.txt - sha256sum -b rpms/* > sha256sum.txt
when: when:
event: event:
- push - push
@ -42,7 +42,7 @@ steps:
from_secret: gpgsign_passphrase from_secret: gpgsign_passphrase
detach_sign: true detach_sign: true
files: files:
- rpmbuild/RPMS/x86_64/* - rpms/*
when: when:
event: event:
- push - push
@ -54,7 +54,7 @@ steps:
# api_key: # api_key:
# from_secret: github_token # from_secret: github_token
# files: # files:
# - rpmbuild/RPMS/x86_64/* # - rpms/*
# - sha256sum.txt # - sha256sum.txt
# title: $${DRONE_TAG} # title: $${DRONE_TAG}
# when: # when: