File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5035,10 +5035,10 @@ build_mingw_w64_git () { # [--only-32-bit] [--only-64-bit] [--skip-test-artifact
5035
5035
git clone --depth 1 --single-branch -b master https://github.com/git-for-windows/MINGW-packages /usr/src/MINGW-packages ||
5036
5036
die " Could not clone MINGW-packages\n"
5037
5037
5038
- tag=" $( git for-each-ref --format ' %(refname:short)' --points-at=" ${1: + HEAD} " ' refs/tags/v[0-9]*' ) "
5038
+ tag=" $( git for-each-ref --format ' %(refname:short)' --points-at=" ${1:- HEAD} " ' refs/tags/v[0-9]*' ) "
5039
5039
test -n " $tag " || {
5040
- tag=$( git describe --match=v* " ${1: + HEAD} " | sed ' s/-.*//' ) .$( date +%Y%m%d%H%M%S) &&
5041
- git tag $tag " ${1: + HEAD} "
5040
+ tag=$( git describe --match=v* " ${1:- HEAD} " | sed ' s/-.*//' ) .$( date +%Y%m%d%H%M%S) &&
5041
+ git tag $tag " ${1:- HEAD} "
5042
5042
} ||
5043
5043
die " Could not create tag\n"
5044
5044
You can’t perform that action at this time.
0 commit comments