-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First sketch of a revamped release workflow * Enabled executable flag * Make sure the BOM is also bumped to the next snapshot version
- Loading branch information
Showing
19 changed files
with
386 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
SNAPSHOT="${NEXT_VERSION}-SNAPSHOT" | ||
|
||
echo "Bumping version to ${SNAPSHOT}" | ||
|
||
./mvnw --settings .build/maven-ci-settings.xml \ | ||
--batch-mode --no-transfer-progress \ | ||
versions:set -DnewVersion=${SNAPSHOT} -DgenerateBackupPoms=false | ||
|
||
./mvnw --settings .build/maven-ci-settings.xml \ | ||
--batch-mode --no-transfer-progress \ | ||
versions:set -DnewVersion=${SNAPSHOT} -DgenerateBackupPoms=false \ | ||
-pl bom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
echo "Bumping version to ${RELEASE_VERSION}" | ||
|
||
./mvnw --settings .build/maven-ci-settings.xml \ | ||
--batch-mode --no-transfer-progress \ | ||
versions:set -DnewVersion=${RELEASE_VERSION} -DgenerateBackupPoms=false | ||
|
||
./mvnw --settings .build/maven-ci-settings.xml \ | ||
--batch-mode --no-transfer-progress \ | ||
versions:set -DnewVersion=${RELEASE_VERSION} -DgenerateBackupPoms=false \ | ||
-pl bom | ||
|
||
echo "Update website version to ${RELEASE_VERSION}" | ||
|
||
.build/UpdateDocsAttributesFiles.java --mutiny-version=${RELEASE_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
echo "Clearing difference justifications" | ||
|
||
jbang .build/CompatibilityUtils.java clear --version="${RELEASE_VERSION}" --do-not-clear-version-prefix="1." | ||
|
||
if [[ $(git diff --stat) != '' ]]; then | ||
git add -A | ||
git status | ||
git commit -m "Clearing breaking change justifications" | ||
git push | ||
else | ||
echo "No justifications cleared" | ||
fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
cd documentation | ||
pip install pipenv | ||
pipenv install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
echo "📦 Staging artifacts..." | ||
|
||
./mvnw --settings .build/maven-ci-settings.xml \ | ||
--batch-mode --no-transfer-progress \ | ||
-Pjreleaser-staging \ | ||
-DskipTests=true -Drevapi.skip=true | ||
|
||
echo "🚀 Releasing..." | ||
|
||
./mvnw --settings .build/maven-ci-settings.xml \ | ||
--batch-mode --no-transfer-progress \ | ||
-pl :mutiny-project -Pjreleaser-release \ | ||
jreleaser:full-release -DskipTests=true -Drevapi.skip=true | ||
|
||
echo "🎉 Done!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
git config --global user.name "smallrye[bot]" | ||
git config --global user.email "smallrye@googlegroups.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
curl -s "https://get.sdkman.io" | bash | ||
source ~/.sdkman/bin/sdkman-init.sh | ||
sdk install jbang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
changelog: | ||
exclude: | ||
authors: | ||
- GitHub | ||
- dependabot[bot] | ||
- smallrye[bot] | ||
- jreleaserbot | ||
- bot | ||
categories: | ||
- title: 🗑️ APIs deprecation or removal | ||
labels: | ||
- api-deprecation | ||
- title: 👍 Promotion of experimental APIs | ||
labels: | ||
- api-promotion | ||
- title: 🐛 Bugs | ||
labels: | ||
- bug | ||
- title: ⚙️ CI/CD pipeline and build | ||
labels: | ||
- 'ci/cd/build' | ||
- title: 📦 Dependency updates | ||
labels: | ||
- dependencies | ||
- title: 📖 Documentation updates | ||
labels: | ||
- documentation | ||
- title: 🚀 New features and enhancements | ||
labels: | ||
- enhancement | ||
- internal | ||
- title: 💡 Misc. updates | ||
labels: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.