-
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4f561d
commit 9f4323f
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Releasing | ||
|
||
1. Update the version in the gemspec (and the factory_bot version, if necessary) | ||
1. Update `NEWS.md` to reflect the changes since last release. | ||
1. Commit changes. | ||
There shouldn't be code changes, | ||
and thus CI doesn't need to run, | ||
you can then add "[ci skip]" to the commit message. | ||
1. Tag the release: `git tag -s vVERSION` | ||
- We recommend the [_quick guide on how to sign a release_] from git ready. | ||
1. Push changes: `git push --tags` | ||
1. Build and publish: | ||
```bash | ||
gem build factory_bot_rails.gemspec | ||
gem push factory_bot_rails-VERSION.gem | ||
``` | ||
|
||
1. Add a new GitHub release using the recent `NEWS.md` as the content. Sample | ||
URL: https://github.com/thoughtbot/factory_bot_rails/releases/new?tag=vVERSION | ||
1. Announce the new release, | ||
making sure to say "thank you" to the contributors | ||
who helped shape this version! | ||
|
||
[_quick guide on how to sign a release_]: http://gitready.com/advanced/2014/11/02/gpg-sign-releases.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Gem::Specification.new do |s| | ||
s.name = %q{factory_bot_rails} | ||
s.version = '4.10.0' | ||
s.version = '4.11.0' | ||
s.authors = ["Joe Ferris"] | ||
s.email = %q{[email protected]} | ||
s.homepage = "https://github.com/thoughtbot/factory_bot_rails" | ||
|
@@ -16,5 +16,5 @@ Gem::Specification.new do |s| | |
s.license = "MIT" | ||
|
||
s.add_runtime_dependency('railties', '>= 3.0.0') | ||
s.add_runtime_dependency('factory_bot', '~> 4.10.0') | ||
s.add_runtime_dependency('factory_bot', '~> 4.11.0') | ||
end |