Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
cd .github/scripts
go mod download
go run .

# Conditional step: Bump version and create tag only if the comparison script passes
- name: Bump Version and Create Tag
if: ${{ success() && steps.compare_control.outcome == 'success' }}
Expand All @@ -57,11 +57,12 @@ jobs:
git tag "$new_tag"
git push origin "$new_tag"

# Required to push changes to the repository
# Set the new_tag as an output
echo "new_tag=$new_tag" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.OG_RELEASE_TAG_UPDATE }}

# Output the new tag
- name: Display new tag
if: ${{ success() && steps.versioning.outcome == 'success' }}
run: echo "Created new tag: ${{ steps.versioning.outputs.new_tag }}"
run: echo "Created new tag: ${{ steps.versioning.outputs.new_tag }}"