Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-git committed May 7, 2024
1 parent 460c812 commit d22b8d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-tags: true
- name: Check deployability
shell: bash
run: |
if ! [[ $(git tag --points-at "$GITHUB_SHA" | grep production-deployable) ]]; then
if ! [[ $(git ls-remote --tags | grep "$GITHUB_SHA" | grep production-deployable) ]]; then
echo "OOPS"
exit 1
fi

0 comments on commit d22b8d2

Please sign in to comment.