-
Notifications
You must be signed in to change notification settings - Fork 0
Release instructions (for committers)
Eclipse Collections project follows Semantic Versioning, as described in the guidelines for contributing. You should not need to change version numbers in pom files. This is taken care of by Hudson release build.
The release workflow involves running 3 Hudson builds.
Hudson Build: release
NEW_VERSION
: The version number for this release, e.g. 7.0.0
, 7.1.0
This build will invoke the steps below internally (assuming NEW_VERSION
is 7.1.0
).
- Clone
master
from GitHub. - Update version number in the pom files, e.g. from
7.1.0-SNAPSHOT
to7.1.0
. - Commit and push the version number changes to
master
. - Tag the previous commit, e.g. annotated tag
7.1.0
. - Invoke deploy build for the new tag.
Hudson Build: service-release
NEW_VERSION
: The version number for this release, e.g. 7.0.1
, 7.0.2
SERVICE_RELEASE_BRANCH
: The name of the branch for the current service release, e.g. 7.0.x
This build will invoke the steps below internally (assuming NEW_VERSION
is 7.0.1
and SERVICE_RELEASE_BRANCH is 7.0.x
).
- Clone branch from GitHub, e.g.
7.0.x
. - Update version number in the pom files, e.g. from
7.0.1-SNAPSHOT
to7.0.1
. - Commit and push the version number changes to branch, e.g.
7.0.x
. - Tag the previous commit, e.g. annotated tag
7.0.1
. - Invoke deploy build for the new tag.
Hudson Build: new-version
NEXT_VERSION
: The planned next release version number, e.g. 7.1.0
, 8.0.0
. No need to add -SNAPSHOT
which is appended by the job automatically.
RELEASE_BRANCH
: Default is master
. Use a branch name for service releases, e.g. 7.1.x
, 8.0.x
.
This build will invoke the steps below internally (assuming NEW_VERSION
is 8.0.0
).
- Clone
master
from GitHub. - Update version number in the pom files, e.g. from
7.1.0
to8.0.0-SNAPSHOT
. - Commit and push the version number changes to
master
.