aboutsummaryrefslogtreecommitdiffstats
path: root/make-bootstrap-file.sh
diff options
context:
space:
mode:
authorJesus <heckyel@riseup.net>2023-09-25 03:15:39 +0800
committerJesus <heckyel@riseup.net>2023-09-25 03:15:39 +0800
commit30569394cff487702079818fbaed4144b50e5251 (patch)
treee57ffd44673d46994ea443ed41791eb19637146e /make-bootstrap-file.sh
parent04fc009cbdb00f8272fc0ccda878ee19b90e3436 (diff)
downloadhyperbola-bootstrap-30569394cff487702079818fbaed4144b50e5251.tar.lz
hyperbola-bootstrap-30569394cff487702079818fbaed4144b50e5251.tar.xz
hyperbola-bootstrap-30569394cff487702079818fbaed4144b50e5251.zip
Set version to make-bootstrap-file.shHEADmaster
Diffstat (limited to 'make-bootstrap-file.sh')
-rw-r--r--make-bootstrap-file.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/make-bootstrap-file.sh b/make-bootstrap-file.sh
index efc62b6..e21ea87 100644
--- a/make-bootstrap-file.sh
+++ b/make-bootstrap-file.sh
@@ -4,6 +4,9 @@
set -e -u -o pipefail
+# Set script version
+SCRIPT_VERSION="v1.0.0"
+
# Display usage message
usage() {
cat <<EOF
@@ -59,6 +62,10 @@ while [[ $# -gt 0 ]]; do
TAR_OWNER_GROUP_ID="${2}"
shift 2
;;
+ -v|--version)
+ echo "version: $SCRIPT_VERSION"
+ exit 0
+ ;;
-h|--help)
usage && exit 0
;;