Sha256: e344867834c80f731d1c1c8f8bc47aab54370ba5c5caf84c8c83fb00784cf95f

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

# Releasing campminder-ruby

## Requirements

- You must have a [RubyGems.org](https://rubygems.org/) account and must be an owner of the [campminder](https://rubygems.org/gems/campminder) gem.

  Owners can be added to the `campminder` gem like this:

  ```
  gem owner campminder -a newowner@example.com
  ```

## Prepare the release

- Increment the `VERSION` constant in the `lib/campminder/version.rb` file, ensuring that you use [Semantic Versioning](http://semver.org/).
- Add an entry to `HISTORY.md` which clearly explains the new release.
- Commit your changes:

  ```
  git commit -am "Version X.Y.Z"
  ```

- Tag the new version:

  ```
  git tag -a vX.Y.Z -m "Version X.Y.Z"
  ```

- Push your changes to GitHub, including the tag you just created:

  ```
  git push origin master --tags
  ```

- Ensure that all [tests](https://travis-ci.org/GimliLongBow/campminder-ruby) pass, and that [coverage](https://coveralls.io/r/GimliLongBow/campminder-ruby) is maintained or improved.

- Add a new [GitHub Release](https://github.com/GimliLongBow/campminder-ruby/releases) using the newly created tag.

## Build the gem

```
rake build
```

This builds the gem locally to a file named something like `campminder-X.Y.Z.gem`. You're now ready to release the gem.

## Release the gem

```
rake release
```

This publishes the gem to [RubyGems.org](https://rubygems.org/gems/campminder). You should see the newly published version of the gem there. All done!

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
campminder-1.0.1 RELEASE.md
campminder-1.0.0 RELEASE.md