File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8181 set -x
8282 cd McCode
8383 # Check if this is a clear-cut release-tag build:
84- export REV=`git tag --points-at HEAD`
84+ export REV=`git tag --points-at HEAD | cut -b2- `
8585 # Otherwise, pick latest and add _nightly
8686 if [ "$REV" == "" ]; then export REV=`git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags origin 'v*.*.*' | tail -1 | cut -f3 -d/ | cut -f2 -dv`_nightly; fi
8787 echo Building on $RUNNER_OS with version set to $REV
9797 set -x
9898 cd McCode
9999 # Check if this is a clear-cut release-tag build:
100- export REV=`git tag --points-at HEAD`
100+ export REV=`git tag --points-at HEAD | cut -b2- `
101101 # Otherwise, pick latest and add _nightly
102102 if [ "$REV" == "" ]; then export REV=`git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags origin 'v*.*.*' | tail -1 | cut -f3 -d/ | cut -f2 -dv`_nightly; fi
103103 echo Building on $RUNNER_OS with version set to $REV
@@ -112,7 +112,7 @@ jobs:
112112 set -x
113113 cd McCode
114114 # Check if this is a clear-cut release-tag build:
115- export REV=`git tag --points-at HEAD`
115+ export REV=`git tag --points-at HEAD | cut -b2- `
116116 # Otherwise, pick latest and add _nightly
117117 if [ "$REV" == "" ]; then export REV=`git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags origin 'v*.*.*' | tail -1 | cut -f3 -d/ | cut -f2 -dv`_nightly; fi
118118 echo Cross-compiling for MinGW Windows on $RUNNER_OS with version set to $REV
Original file line number Diff line number Diff line change 8181 set -x
8282 cd McCode
8383 # Check if this is a clear-cut release-tag build:
84- export REV=`git tag --points-at HEAD`
84+ export REV=`git tag --points-at HEAD | cut -b2- `
8585 # Otherwise, pick latest and add _nightly
8686 if [ "$REV" == "" ]; then export REV=`git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags origin 'v*.*.*' | tail -1 | cut -f3 -d/ | cut -f2 -dv`_nightly; fi
8787 echo Building on $RUNNER_OS with version set to $REV
9797 set -x
9898 cd McCode
9999 # Check if this is a clear-cut release-tag build:
100- export REV=`git tag --points-at HEAD`
100+ export REV=`git tag --points-at HEAD | cut -b2- `
101101 # Otherwise, pick latest and add _nightly
102102 if [ "$REV" == "" ]; then export REV=`git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags origin 'v*.*.*' | tail -1 | cut -f3 -d/ | cut -f2 -dv`_nightly; fi
103103 echo Building on $RUNNER_OS with version set to $REV
@@ -112,7 +112,7 @@ jobs:
112112 set -x
113113 cd McCode
114114 # Check if this is a clear-cut release-tag build:
115- export REV=`git tag --points-at HEAD`
115+ export REV=`git tag --points-at HEAD | cut -b2- `
116116 # Otherwise, pick latest and add _nightly
117117 if [ "$REV" == "" ]; then export REV=`git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags origin 'v*.*.*' | tail -1 | cut -f3 -d/ | cut -f2 -dv`_nightly; fi
118118 echo Cross-compiling for MinGW Windows on $RUNNER_OS with version set to $REV
You can’t perform that action at this time.
0 commit comments