forked from Scribery/cockpit-session-recording
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cockpituous-release
31 lines (24 loc) · 1.15 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
31
# This is a script run to release welder-web 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-session-recording.spec"
RELEASE_SRPM="_release/srpm"
job release-source
job release-srpm -V
# Once you have a Fedora package and add the https://pagure.io/user/cockpit
# user to your project's maintainers, you can also upload to Fedora automatically:
## Authenticate for pushing into Fedora dist-git (works in Cockpituous release container)
# cat ~/.fedora-password | kinit [email protected]
## Do fedora builds for the tag, using tarball
# job release-koji -k master
# job release-koji f29
# job release-bodhi F29
# 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 @myorg/myrepo