]> git.apps.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:14:27 +0000 (16:14 -0500)
commit98be912957232484fcd86e1bcd7ffbab36d36e31
tree46065f03d1cdefd1a4bbc00ce9e93a90071f2360
parent0adecbe7618c5d3298c1ea3dbed8f0733e7eb73c
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