From 24655945e6769b445b2d3edad1f48aacb20e7dfe Mon Sep 17 00:00:00 2001 From: Khash Sajadi Date: Mon, 28 Oct 2019 09:29:21 +0000 Subject: [PATCH] allow custom versions --- build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7ba1d02..77fc613 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,11 @@ #!/bin/bash -version=$(git describe --tags --always) +if [ -z "$2" ] + then + version=$(git describe --tags --always) + else + version=$2 +fi if [ -z "$1" ] then