-
Notifications
You must be signed in to change notification settings - Fork 31
Release Process
Triggering the Pre-release
action is useful for test & development purposes.
Note: The output artefacts (
Docker images
,Buildpacks
andHelm charts
) will be overridden by theRelease
action. No other release artefacts are published (*.jar
,*.war
,Release Notes
, etc.).
-
Pull the latest changes:
git pull
-
Trigger the GitHub Pre-release action:
git tag pre1.0.0 git push origin pre1.0.0
-
Drop the pre-release tag
git tag -d pre5.4.0 git push --delete origin pre5.4.0
-
Create branch for Pull Request:
git pull git checkout -b update-release-version
-
Change Version for Release:
mvn versions:set -DnewVersion=1.0.0 git add . git commit -m "version set to 1.0.0 for release" git push --set-upstream origin update-release-version
-
Create Pull Request
To open new Pull Request, go to: https://github.com/SAP/xsk/pull/new/update-release-version
Note: Wait for the Pull Request to be merged, before triggering the Release action.
git checkout main git pull git branch -D update-release-version
-
Trigger GitHub Release Action:
git tag v1.0.0 git push origin v1.0.0
Note: Check https://status.maven.org/ before triggering the release! There could be a maintenance going on during the build, if that's the case, usually the
Publish packages to Maven Central
step will fail with 405 Not Allowed. -
Create branch for Pull Request:
git pull git checkout -b update-development-version
-
Change Version for Development:
mvn versions:set -DnewVersion=2.0.0-SNAPSHOT git add . git commit -m "version set to 2.0.0-SNAPSHOT for Development" git push --update-development-version
-
Create Pull Request
git checkout main git branch -D update-development-version
Delete Tag:
git tag -d v1.0.0
git push --delete origin v1.0.0