diff --git a/_data/version.sh b/_data/version.sh index 9104837..a6b11b5 100755 --- a/_data/version.sh +++ b/_data/version.sh @@ -38,11 +38,17 @@ printf "package goext\n\nconst GoextVersion = \"%s\"\n\nconst GoextVersionTimest git add --verbose . -echo "Insert option commit message:" -n +echo -n "Insert option commit message: " read commitMessage -msg="v${next_ver} ${commitMessage}" +msg="v${next_ver}" + + +if [[ "$commitMessage" != "" ]]; then + msg="${msg} ${commitMessage}" +fi + if [ $# -gt 0 ]; then msg="$1" diff --git a/goextVersion.go b/goextVersion.go index b3b8c5c..65c7a6d 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.180" +const GoextVersion = "0.0.181" -const GoextVersionTimestamp = "2023-07-19T11:24:01+0200" +const GoextVersionTimestamp = "2023-07-19T11:26:02+0200"