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
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
release_tag:
description: Existing immutable SDK tag to retry from main
description: Existing immutable SDK tag to retry from its sdk-recovery tag
required: true
type: string
push:
Expand Down Expand Up @@ -47,8 +47,9 @@ jobs:
WORKFLOW_REF: ${{ github.ref }}
run: |
if [ "$RETRY" = true ]; then
test "$WORKFLOW_REF" = refs/heads/main
[[ "$SDK_RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]
test "$WORKFLOW_REF" = "refs/tags/sdk-recovery/$SDK_RELEASE_TAG"
git merge-base --is-ancestor "$GITHUB_WORKFLOW_SHA" origin/main
test "$(git rev-parse "refs/tags/$SDK_RELEASE_TAG^{commit}")" = "$(git rev-parse HEAD)"
git merge-base --is-ancestor HEAD origin/main
fi
Expand Down
Loading