]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script/build-with-container: add --current-branch cli option
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 14 Feb 2025 16:24:06 +0000 (11:24 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 6 Mar 2025 21:13:16 +0000 (16:13 -0500)
commit24d683324a7f1215537c3a60d7234d4c2647f217
tree758b42798abc1ae8350133efd6869fed6e6c87f5
parente0fcb80d37ed13df65e1cbb83bcee39d4fb22d83
script/build-with-container: add --current-branch cli option

Add a new --current-branch argument that lets the user supply a name for
the current branch. This allows the automatic tag generation to avoid
calling git - something useful if the tree is not using a git checkout
(like a tarball). It also allows you to pull a temporary branch in git
but ignore it and act like the temporary branch is the base branch.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit c1713c5bc37b7e31bd84555066c06a72bb0f025b)
src/script/build-with-container.py