File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3131 cd .github/scripts
3232 go mod download
3333 go run .
34-
34+
3535 # Conditional step: Bump version and create tag only if the comparison script passes
3636 - name : Bump Version and Create Tag
3737 if : ${{ success() && steps.compare_control.outcome == 'success' }}
@@ -57,11 +57,12 @@ jobs:
5757 git tag "$new_tag"
5858 git push origin "$new_tag"
5959
60- # Required to push changes to the repository
60+ # Set the new_tag as an output
61+ echo "new_tag=$new_tag" >> $GITHUB_OUTPUT
6162 env :
6263 GITHUB_TOKEN : ${{ secrets.OG_RELEASE_TAG_UPDATE }}
6364
6465 # Output the new tag
6566 - name : Display new tag
6667 if : ${{ success() && steps.versioning.outcome == 'success' }}
67- run : echo "Created new tag: ${{ steps.versioning.outputs.new_tag }}"
68+ run : echo "Created new tag: ${{ steps.versioning.outputs.new_tag }}"
You can’t perform that action at this time.
0 commit comments