Skip to content

Commit

Permalink
Merge pull request #17 from randallreedjr/releases/v1.1.2
Browse files Browse the repository at this point in the history
v1.1.2
  • Loading branch information
randallreedjr committed Feb 9, 2022
2 parents 13420cf + b1a995a commit 3d069ae
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
git_swap (1.1.1)
git_swap (1.1.2)
activesupport (~> 5.2)

GEM
Expand All @@ -14,9 +14,9 @@ GEM
tzinfo (~> 1.1)
concurrent-ruby (1.1.9)
diff-lcs (1.3)
i18n (1.8.10)
i18n (1.9.1)
concurrent-ruby (~> 1.0)
minitest (5.14.4)
minitest (5.15.0)
rake (13.0.1)
rspec (3.8.0)
rspec-core (~> 3.8.0)
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@ git swap -l
git swap personal -v
```

## Releasing
To release a new version of the gem:
* Once changes for release have been merged into `develop` branch, create a new release branch (`releases/vx.y.z`) off `develop`.
* Bump the version number in [lib/git_swap/version.rb](https://github.com/randallreedjr/git_swap/blob/develop/lib/git_swap/version.rb).
* Rerun `bundle` to update Gemfile.lock
* Open a pull request to the `master` branch
* Merge pull request and create a tag
* Delete the `develop` branch and recreate from `master`
* Build the new version of the gem - `gem build git_swap.gemspec`
* Push the gem to rubygems from the `master` branch; this is the only branch from which releases should be deployed - `gem push git_swap-x.y.z.gem`

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
2 changes: 1 addition & 1 deletion lib/git_swap/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GitSwap
VERSION = "1.1.1" unless defined? VERSION
VERSION = "1.1.2" unless defined? VERSION
end

0 comments on commit 3d069ae

Please sign in to comment.