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
50355035 git clone --depth 1 --single-branch -b master https://github.com/git-for-windows/MINGW-packages /usr/src/MINGW-packages ||
50365036 die " Could not clone MINGW-packages\n"
50375037
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]*' ) "
50395039 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} "
50425042 } ||
50435043 die " Could not create tag\n"
50445044
You can’t perform that action at this time.
0 commit comments