Skip to content

Commit

Permalink
fix:labels
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Sep 6, 2024
1 parent 38b1d73 commit 9f8ee03
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,9 @@ jobs:
- name: Determine version bump
id: version_bump
run: |
if [ "${{ github.event_name }}" == "pull_request" ]; then
LABELS=$(jq -r '.pull_request.labels[].name' <<< "${{ toJson(github.event) }}")
echo "Labels: $LABELS"
else
echo "Not a pull request, defaulting to alpha."
echo "::set-output name=part::alpha"
fi
LABELS=$(echo "${{ toJson(github.event.pull_request.labels) }}" | jq -r '.[].name')
echo "Labels: $LABELS"
MAJOR=0
MINOR=0
BUILD=0
Expand Down

0 comments on commit 9f8ee03

Please sign in to comment.