Skip to content

rioos2/ottavada

Repository files navigation

Rake Tasks

This project includes several Rake tasks to automate parts of the release process.

Release Bot

Setup

  1. Install the required dependencies with Bundler:

    bundle install
    
  2. Several of the tasks require API access to a GitLab instance. We store the endpoint and private token data in the .env file

release[version]

This task will:

  1. Create the X-Y-stable branches off the current masters respectively, if they don't yet exist.
  2. Update the VERSION file in both stable branches created above.
  3. Update changelogs
  4. Create the v[version] tag, pointing to the respective branches created above.
  5. 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

Examples

# 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]"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages