Skip to content

Commit

Permalink
ci: give a scope to Git commits
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Ponge <jponge@redhat.com>
  • Loading branch information
jponge committed Sep 19, 2023
1 parent c1bedbb commit f3856bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .build/justfile-for-release
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pre-release: decrypt-secrets init-gpg init-git
release: pre-release
@echo "🚀 Release steps..."
@echo "Commit release version and push upstream"
git commit -am "chore: release Mutiny ${RELEASE_VERSION}"
git commit -am "chore(release): release Mutiny ${RELEASE_VERSION}"
git push
@echo "Call JReleaser"
./mvnw -settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress -Pjreleaser jreleaser:full-release -pl :mutiny-project
Expand All @@ -58,7 +58,7 @@ release: pre-release
@echo "Bump to 999-SNAPSHOT and push upstream"
./mvnw --settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress versions:set -DnewVersion=999-SNAPSHOT -DgenerateBackupPoms=false
./mvnw --settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress versions:set -DnewVersion=999-SNAPSHOT -DgenerateBackupPoms=false -pl bom
git commit -am "chore: set development version to 999-SNAPSHOT"
git commit -am "chore(release): set development version to 999-SNAPSHOT"
git push

# Steps post-release
Expand All @@ -74,7 +74,7 @@ clear-revapi:
if [[ $(git diff --stat) != '' ]]; then
git add -A
git status
git commit -m "chore: clear RevAPI breaking change justifications"
git commit -m "chore(release): clear RevAPI breaking change justifications"
git push
else
echo "No justifications cleared"
Expand Down

0 comments on commit f3856bc

Please sign in to comment.