mirror of
https://github.com/RWejlgaard/org.git
synced 2026-05-06 04:34:45 +00:00
chore: add chore commits (#1)
This commit is contained in:
parent
264f0aa54a
commit
6e96d56e77
1 changed files with 8 additions and 0 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -53,6 +53,14 @@ jobs:
|
|||
|
||||
echo "Current version: $MAJOR.$MINOR.$PATCH"
|
||||
|
||||
# Check for chore commits - skip release
|
||||
if [[ "$COMMIT_MSG" =~ ^chore:.*|^CHORE:.* ]]; then
|
||||
echo "Chore commit detected. Skipping release."
|
||||
echo "bump_type=none" >> $GITHUB_OUTPUT
|
||||
echo "new_version=" >> $GITHUB_OUTPUT
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Determine bump type based on commit message prefix
|
||||
if [[ "$COMMIT_MSG" =~ ^major:.*|^MAJOR:.*|^breaking:.*|^BREAKING:.* ]]; then
|
||||
MAJOR=$((MAJOR + 1))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue