forked from cockpit-project/cockpit-podman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cockpituous-release
30 lines (24 loc) · 1.02 KB
/
cockpituous-release
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
30
# This is a script run to release cockpit-podman through Cockpituous:
# https://github.com/cockpit-project/cockpituous/tree/master/release
# 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.
#
# Check cockpituous documentation for available release targets.
RELEASE_SOURCE="_release/source"
RELEASE_SPEC="cockpit-podman.spec"
RELEASE_SRPM="_release/srpm"
job release-source
job release-srpm -V
# Authenticate for pushing into Fedora dist-git (works in Cockpituous release container)
cat ~/.fedora-password | kinit cockpit@FEDORAPROJECT.ORG
# Do fedora builds for the tag, using tarball
job release-koji master
job release-koji f31
job release-koji f32
job release-bodhi F31
job release-bodhi F32
# These are likely the first of your release targets; but run them after Fedora uploads,
# so that failures there will fail the release early, before publishing on GitHub
job release-github
job release-copr @cockpit/cockpit-podman