git.annexia.org
/
fedora-ocaml-rebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
695f007
)
Use koji build directly instead of fedpkg build.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Jan 2020 11:50:40 +0000
(11:50 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Jan 2020 11:52:34 +0000
(11:52 +0000)
Allows us to specify an alternative koji --profile option in %koji.
Goalfile
patch
|
blob
|
history
diff --git
a/Goalfile
b/Goalfile
index
19ed946
..
6d4ef07
100644
(file)
--- a/
Goalfile
+++ b/
Goalfile
@@
-103,7
+103,12
@@
goal rebuild (pkg) =
fi
fedpkg commit -c
fedpkg push
- fedpkg build
+ if [ %koji = "koji" ]; then
+ fedpkg build
+ else
+ hash=$(git rev-parse HEAD)
+ %koji build "git+https://src.fedoraproject.org/rpms/"%pkg".git#$hash" %side-tag
+ fi
}
# Get the source package names for a particular package.