-
Notifications
You must be signed in to change notification settings - Fork 2
/
release-script
30 lines (25 loc) · 877 Bytes
/
release-script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This is a script run to release oci-kvm-hook through Cockpituous:
# https://github.com/cockpit-project/cockpituous
# Anything that start with 'job' may run in a way that it SIGSTOP's
# itself when preliminary preparition and then gets a SIGCONT in
# order to complete its work
RELEASE_SOURCE="_release/source"
RELEASE_SPEC="oci-kvm-hook.spec"
RELEASE_SRPM="_release/srpm"
release_source() {
# cockpituous' release-source is aimed at ./autogen.sh/autotools style
# projects, so just build our own here
mkdir -p "$RELEASE_SOURCE"
git archive --prefix="oci-kvm-hook-$RELEASE_TAG/" "$RELEASE_TAG" > "$RELEASE_SOURCE/$RELEASE_TAG.tar.gz"
}
release_source
job release-srpm
job release-github
job release-koji master
job release-koji f26
job release-koji f27
job release-koji f28
job release-koji epel7
job release-bodhi F28
job release-bodhi F27
job release-bodhi EL7