Skip to content

Commit

Permalink
fixing wildcard comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Guretzki committed Nov 7, 2024
1 parent 57468dc commit 1228776
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/detect_api_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
NEW="${{ env.source }}~${{ env.githubRepo }}"
echo "${{ github.head_ref }}"
if [[ '${{ github.head_ref || env.noTargetBranch }}' == 'release/*' ]]
echo "[[ '${{ github.head_ref || env.noTargetBranch }}' == release/* ]]"
if [[ '${{ github.head_ref || env.noTargetBranch }}' == release/* ]]
then
LATEST_TAG=$(git describe --tags --abbrev=0)
OLD="$LATEST_TAG~${{ env.githubRepo }}"
Expand Down

0 comments on commit 1228776

Please sign in to comment.