Skip to content

Commit

Permalink
Merge pull request #11 from vamsii777/revert-10-fix/ci
Browse files Browse the repository at this point in the history
Revert "Fix CI"
  • Loading branch information
vamsii777 authored Nov 28, 2024
2 parents 928b18a + 48d963d commit 58033c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
fi
# Determine version bump type from PR labels
labels=$(echo '${{ toJSON(github.event.pull_request.labels.*.name) }}')
if echo "$labels" | jq -e 'any(. == "major")' > /dev/null; then
labels="${{ toJSON(github.event.pull_request.labels.*.name) }}"
if echo "$labels" | jq -e 'contains(["major"])' > /dev/null; then
major=$((major + 1))
minor=0
patch=0
elif echo "$labels" | jq -e 'any(. == "minor")' > /dev/null; then
elif echo "$labels" | jq -e 'contains(["minor"])' > /dev/null; then
minor=$((minor + 1))
patch=0
else
Expand Down

0 comments on commit 58033c2

Please sign in to comment.