From 97a67446dadd7766c3270c28a198e66fba558c01 Mon Sep 17 00:00:00 2001 From: Daniel Colson Date: Wed, 15 Aug 2018 10:56:09 -0400 Subject: [PATCH] Bump version to 4.11 [ci-skip] --- NEWS | 5 +++++ RELEASING.md | 24 ++++++++++++++++++++++++ lib/factory_bot/version.rb | 2 +- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 RELEASING.md diff --git a/NEWS b/NEWS index 6372431..534c786 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +4.11.0 (August, 15, 2018) + Bugfix: Do not raise error for valid build_stubbed methods: decrement, increment, and toggle + Bugfix: Do not add timestamps with build_stubbed for objects that shouldn't have timestamps + Deprecate static attributes + 4.10.0 (May 25, 2018) Allow sequences to be rewound diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..fb86103 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,24 @@ +# Releasing + +1. Update version file accordingly. +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.gemspec + gem push factory_bot-VERSION.gem + ``` + +1. Add a new GitHub release using the recent `NEWS.md` as the content. Sample + URL: https://github.com/thoughtbot/factory_bot/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 diff --git a/lib/factory_bot/version.rb b/lib/factory_bot/version.rb index 38a41f6..5c10934 100644 --- a/lib/factory_bot/version.rb +++ b/lib/factory_bot/version.rb @@ -1,3 +1,3 @@ module FactoryBot - VERSION = "4.10.0".freeze + VERSION = "4.11.0".freeze end