First, make sure you don’t have pending changes in your main branch.
Warning
|
Make sure that you are using JDK 11 to do the release. |
-
cd galleon
-
git checkout main
-
git pull --rebase upstream main
-
mvn clean install
-
Check that the cli starts, and can provision Wildfly:
-
./do.sh run
-
install wildfly --dir=foo
-
exit
-
rm -rf foo
-
-
Update docs/* content to reference the new released version.
-
Update do.sh script to reference the new released version.
-
Commit the changes with message:
Update doc and script to X.X.X.Final
-
mvn release:prepare -Darguments=-Drelease
-
mvn release:perform -Darguments=-Drelease
-
Update docs/* content to reference the new SNAPSHOT version.
-
Update do.sh script to reference the new SNAPSHOT version.
-
Commit the changes with message:
Update doc and script to X.X.X.Final-SNAPSHOT
-
git push upstream main
-
Close the staging repository.
-
Release the closed repository.
-
Edit the release you just created.
-
Upload dist/target/galleon-X.X.X.Final.zip to the release.
-
Click on
Releases
-
Select Release you just released, Click on
Actions/Release
-
Set the date.
-
Click on
Manage Versions
and add the next version.