Skip to content

Commit

Permalink
ci: Make sure the first half of the tag is the same as the latest rel…
Browse files Browse the repository at this point in the history
…ease (#2885)
  • Loading branch information
Yaminyam authored Oct 2, 2024
1 parent c736042 commit a60bfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ jobs:
release_version=$(git branch -r | grep -E 'origin/[0-9]{2}\.[0-9]{2}$' | awk -F'/' '{print $2}' | sort -V | tail -n 1)
echo "RELEASE_VERSION=$release_version" >> $GITHUB_OUTPUT
- name: Update edge installer shorten URL
if: ${{ github.ref_name == steps.extract_edge_release_version.outputs.RELEASE_VERSION }}
if: ${{ startsWith(github.ref_name, steps.extract_edge_release_version.outputs.RELEASE_VERSION) }}
run: |
curl -X 'PATCH' \
'https://bnd.ai/rest/v3/short-urls/installer-edge-macos-aarch64' \
Expand Down

0 comments on commit a60bfe0

Please sign in to comment.