Skip to content

Commit

Permalink
chore(ci): Publish - debug master branch detection for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Oct 23, 2024
1 parent 8647d77 commit 795e057
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -797,13 +797,16 @@ jobs:
EVENT_BASE_REF: ${{ github.event.base_ref || 'master' }}
run: |
BRANCH=$EVENT_BASE_REF#refs/heads/
echo "branch=$BRANCH" >> "$GITHUB_OUTPUT"
echo "Detected branch: $BRANCH"
IS_MASTER=false
if [ "$BRANCH_NAME" == "master" ]; then
echo "is_master=true" >> "$GITHUB_OUTPUT"
else
echo "is_master=false" >> "$GITHUB_OUTPUT"
IS_MASTER=true
fi
echo "Detected is_master: $IS_MASTER"
echo "branch=$BRANCH" >> "$GITHUB_OUTPUT"
echo "is_master=$IS_MASTER" >> "$GITHUB_OUTPUT"
trigger-repo-sync:
name: Trigger runtime repo
Expand Down

0 comments on commit 795e057

Please sign in to comment.