Sha256: afabfd7eac541d5dbfc56f473ecb2b2221c06824361b2a4fe34f53b4029083ce

Contents?: true

Size: 1.87 KB

Versions: 1

Compression:

Stored size: 1.87 KB

Contents

# Voxpupuli Release Gem

[![License](https://img.shields.io/github/license/voxpupuli/voxpupuli-release-gem.svg)](https://github.com/voxpupuli/voxpupuli-release-gem/blob/master/LICENSE)
[![Release](https://github.com/voxpupuli/voxpupuli-release-gem/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/voxpupuli-release-gem/actions/workflows/release.yml)
[![RubyGem Version](https://img.shields.io/gem/v/voxpupuli-release.svg)](https://rubygems.org/gems/voxpupuli-release)
[![RubyGem Downloads](https://img.shields.io/gem/dt/voxpupuli-release.svg)](https://rubygems.org/gems/voxpupuli-release)

This is a helper Gem for the Vox Pupuli release workflow. This Gem currently serves only to encapsulate common `rake` tasks related to releasing modules.

## Usage

Add the `voxpupuli-release` Gem to your `Gemfile`:

```ruby
gem 'voxpupuli-release', git: 'https://github.com/voxpupuli/voxpupuli-release-gem'
```

Then, at the top of your `Rakefile`, add:

```ruby
require 'voxpupuli-release'
```

To cut a new release of your module, ensure the `metadata.json` reflects the proper version. Also ensure that the `CHANGELOG.md` has a note about the release and that it actually is named Release or release, some old modules refer to it as Version, which won't work. Lastly check that no tag exists with that version number (format `v#.#.#`), and then run:

```plain
bundle exec rake release
```

## License

This gem is licensed under the Apache-2 license.

## Release information

To make a new release, please do:

* update the version in `lib/voxpupuli/release/version.rb`
* Install gems with `bundle install --with release --path .vendor`
* generate the changelog with `bundle exec rake changelog`
* Check if the new version matches the closed issues/PRs in the changelog
* Create a PR with it
* After it got merged, push a tag. GitHub Actions will do the actual release to Rubygems and GitHub Packages

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voxpupuli-release-1.2.0 README.md