Skip to content

Commit

Permalink
ci(release): Fix SC1072
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed May 26, 2023
1 parent 1819b81 commit 3928341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ jobs:
- name: Check whether to execute release
id: execute-release
run: |
if [[ git tag --points-at ${{ github.sha }} --list 'v*' ]]; then
tag=$(git describe --tags --exact-match)
if [[ $tag =~ ^v ]]; then
echo "EXECUTE_RELEASE=true" >> "$GITHUB_OUTPUT"
else
echo "EXECUTE_RELEASE=false" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 3928341

Please sign in to comment.