]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-backport.sh: implement --update-version and --version options
authorNathan Cutler <ncutler@suse.com>
Mon, 7 Oct 2019 11:33:26 +0000 (13:33 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 10 Oct 2019 12:22:28 +0000 (14:22 +0200)
commit4866621bca8b7261c36072d9a63da4caac64d7cf
tree3a6dc4415bec2dcb47f53387238728d8d50ef188
parentea97a5a02baea105a650659bbf9905e0382ea822
ceph-backport.sh: implement --update-version and --version options

--update-version (intended for use by script maintainer only) will derive
version number from the output of "git describe" and set the SCRIPT_VERSION
variable inside the script.

--version will display a version number message and exit immediately thereafter.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/script/ceph-backport.sh