-
Notifications
You must be signed in to change notification settings - Fork 3
Feat: Adds support for pre-release building #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@pmalek Thanks for the feedback, tweaked the planning document based on the items you raised. |
pmalek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits but otherwise this is good 👍
I'll leave this with you to apply the suggestions
.github/workflows/bump-version.yaml
Outdated
| SEMVER_COUNT=$(echo "$LABELS" | jq -r '.[]' | grep -cE '^(patch|minor|major)$' || echo "0") | ||
| PRERELEASE_COUNT=$(echo "$LABELS" | jq -r '.[]' | grep -cE '^(rc|alpha|beta)$' || echo "0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: you should be able to achieve this without the grep usage:
| SEMVER_COUNT=$(echo "$LABELS" | jq -r '.[]' | grep -cE '^(patch|minor|major)$' || echo "0") | |
| PRERELEASE_COUNT=$(echo "$LABELS" | jq -r '.[]' | grep -cE '^(rc|alpha|beta)$' || echo "0") | |
| SEMVER_COUNT=$(echo "$LABELS" | jq -r '[. []| select(test("^(patch|minor|major)$"))] | length') | |
| PRERELEASE_COUNT=$(echo "$LABELS" | jq -r '[. []| select(test("^(rc|alpha|beta)$"))] | length') |
| - '^docs:' | ||
| - '^test:' | ||
| - '^chore:' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - '^docs:' | |
| - '^test:' | |
| - '^chore:' | |
| - '^docs:' | |
| - '^test:' | |
| - '^tests:' | |
| - '^chore:' | |
| - '^ci:' |
No description provided.