File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 679679 {
680680 " id " : " create_tag" ,
681681 " name " : " Generate tag" ,
682- " run " : " BUILD_SCM_REVISION=$(git rev-parse --short HEAD)\n BUILD_SCM_TIMESTAMP=$(TZ=UTC date --date \" @$(git show -s --format=%ct HEAD)\" +%Y%m%dT%H%M%SZ)\n RELEASE_TAG=\" ${BUILD_SCM_TIMESTAMP}-${BUILD_SCM_REVISION}}\"\n git tag -a $RELEASE_TAG\n git push --follow-tags\n echo \" release_tag=$RELEASE_TAG\" >> $GITHUB_OUTPUT\n "
682+ " run " : " BUILD_SCM_REVISION=$(git rev-parse --short HEAD)\n BUILD_SCM_TIMESTAMP=$(TZ=UTC date --date \" @$(git show -s --format=%ct HEAD)\" +%Y%m%dT%H%M%SZ)\n RELEASE_TAG=\" ${BUILD_SCM_TIMESTAMP}-${BUILD_SCM_REVISION}}\"\n git tag $RELEASE_TAG\n git push --follow-tags\n echo \" release_tag=$RELEASE_TAG\" >> $GITHUB_OUTPUT\n "
683683 },
684684 {
685685 " name " : " Create GitHub release and upload artifacts" ,
Original file line number Diff line number Diff line change 183183 BUILD_SCM_REVISION=$(git rev-parse --short HEAD)
184184 BUILD_SCM_TIMESTAMP=$(TZ=UTC date --date "@$(git show -s --format=%ct HEAD)" +%Y%m%dT%H%M%SZ)
185185 RELEASE_TAG="${BUILD_SCM_TIMESTAMP}-${BUILD_SCM_REVISION}}"
186- git tag -a $RELEASE_TAG
186+ git tag $RELEASE_TAG
187187 git push --follow-tags
188188 echo "release_tag=$RELEASE_TAG" >> $GITHUB_OUTPUT
189189 ||| ,
You can’t perform that action at this time.
0 commit comments