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:
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: