Skip to content

Commit

Permalink
Release 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredbeck committed Jun 27, 2016
1 parent 38edb1c commit 65cd251
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 11 deletions.
16 changes: 9 additions & 7 deletions .github/CONTRIBUTING.md
Expand Up @@ -92,14 +92,16 @@ DB=postgres bundle exec rake

1. Set the version in lib/paper_trail/version_number.rb
- Set PRE to nil unless it's a pre-release (beta, rc, etc.)
1. In the changelog, replace "Unreleased" with the date.
1. In the changelog,
- Replace "Unreleased" with the date in iso-8601 format
- Add a new "Unreleased" section
1. In the readme,
- remove "unreleased" from the doc versions table
- update any other references to version number
- Update any other references to version number, including
- Update version number(s) in the documentation links table
1. Commit
1. Tag with `git tag -a -m "v5.0.0" "v5.0.0"`
1. `git push --tags origin master`
1. `gem build paper_trail.gemspec`
1. `gem push paper_trail-5.0.0.gem`
1. git tag -a -m "v5.0.0" "v5.0.0" # or whatever number
1. git push --tags origin master
1. gem build paper_trail.gemspec
1. gem push paper_trail-5.0.0.gem

[1]: https://github.com/airblade/paper_trail/blob/master/doc/bug_report_template.rb
20 changes: 19 additions & 1 deletion CHANGELOG.md
@@ -1,4 +1,22 @@
## 5.2.0 (Unreleased)
## ?.?.? (Unreleased)

### Breaking Changes

- None

### Deprecated

- None

### Added

- None

### Fixed

- None

## 5.2.0 (2016-06-27)

### Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -11,7 +11,7 @@ has been destroyed.
| Version | Documentation |
| -------------- | ------------- |
| Unreleased | https://github.com/airblade/paper_trail/blob/master/README.md |
| 5.1.1 | https://github.com/airblade/paper_trail/blob/v5.1.1/README.md |
| 5.2.0 | https://github.com/airblade/paper_trail/blob/v5.2.0/README.md |
| 4.2.0 | https://github.com/airblade/paper_trail/blob/v4.2.0/README.md |
| 3.0.9 | https://github.com/airblade/paper_trail/blob/v3.0.9/README.md |
| 2.7.2 | https://github.com/airblade/paper_trail/blob/v2.7.2/README.md |
Expand Down
4 changes: 2 additions & 2 deletions lib/paper_trail/version_number.rb
Expand Up @@ -2,8 +2,8 @@ module PaperTrail
# :nodoc:
module VERSION
MAJOR = 5
MINOR = 1
TINY = 1
MINOR = 2
TINY = 0
PRE = nil

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".").freeze
Expand Down

0 comments on commit 65cd251

Please sign in to comment.