File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ jobs:
2222 with :
2323 go-version-file : gqlkit-sdl/go.mod
2424
25- - name : Extract version
25+ - name : Extract version and create local semver tag
2626 id : version
2727 run : |
2828 FULL_TAG="${GITHUB_REF#refs/tags/}"
2929 VERSION="${FULL_TAG#gqlkit-sdl/}"
30+ git tag -f "$VERSION"
3031 echo "version=$VERSION" >> "$GITHUB_OUTPUT"
3132 echo "full_tag=$FULL_TAG" >> "$GITHUB_OUTPUT"
3233
Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ jobs:
2222 with :
2323 go-version-file : gqlkit/go.mod
2424
25- - name : Extract version
25+ - name : Extract version and create local semver tag
2626 id : version
2727 run : |
2828 FULL_TAG="${GITHUB_REF#refs/tags/}"
2929 VERSION="${FULL_TAG#gqlkit/}"
30+ git tag -f "$VERSION"
3031 echo "version=$VERSION" >> "$GITHUB_OUTPUT"
3132 echo "full_tag=$FULL_TAG" >> "$GITHUB_OUTPUT"
3233
You can’t perform that action at this time.
0 commit comments