This project includes several Rake tasks to automate parts of the release process.
-
Install the required dependencies with Bundler:
bundle install
-
Several of the tasks require API access to a GitLab instance. We store the endpoint and private token data in the
.env
file
This task will:
- Create the
X-Y-stable
branches off the currentmaster
s respectively, if they don't yet exist. - Update the
VERSION
file in bothstable
branches created above. - Update changelogs
- Create the
v[version]
tag, pointing to the respective branches created above. - Push all newly-created branches and tags to all remotes.
This task will release packages as well: Please read poochi for build and publishing packages
# Release 2.0 RC1:
bundle exec rake "release[2.0.0-rc1]"
# Release 2.0.0:
bundle exec rake "release[2.0.0]"
# Release 2.1.0:
bundle exec rake "release[2.1.0]"
# Don't push branches or tags to remotes:
# (or) cp .env_test .env
TEST=true bundle exec rake "release[2.0.0.rc1]"