Skip to content

Commit

Permalink
ci: fix alpha version bump check
Browse files Browse the repository at this point in the history
  • Loading branch information
alashchev17 committed Feb 20, 2025
1 parent f94c4df commit 7481bea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/agent_gui_npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
run: |
echo "github.event_name: ${{ github.event_name }}"
echo "github.ref: ${{ github.ref }}"
echo "inputs.ref_name: ${{ github.ref_name }}"
echo "inputs.head_ref: ${{ github.head_ref }}"
echo "inputs.perform_publish: ${{ inputs.perform_publish }}"
Expand All @@ -83,8 +84,9 @@ jobs:
# Determine version bump type based on branch/PR
if [[ "${{ github.ref }}" == "refs/heads/dev" ]] || \
[[ "${{ github.event_name }}" == "pull_request" && "${{ github.head_ref }}" == "test/workflow-alpha-version" ]] || \
[[ "${{ github.event_name }}" == "workflow_dispatch" && "${{ github.ref }}" == "refs/heads/dev" ]]; then
[[ "${{ github.ref }}" == "refs/heads/test/workflow-alpha-version" ]] || \
[[ "${{ github.event_name }}" == "pull_request" && "${{ github.head_ref }}" == "test/workflow-alpha-version" ]] || \
[[ "${{ github.event_name }}" == "workflow_dispatch" && "${{ github.ref }}" == "refs/heads/dev" ]]; then
echo "Bumping alpha version..."
npm run alpha:version
else
Expand Down

0 comments on commit 7481bea

Please sign in to comment.