Skip to content

Commit 43a0039

Browse files
committed
Add instructions for releasing with 2FA
1 parent 0fb7e8d commit 43a0039

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

guides/development.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,9 @@ To cut a release:
265265
- Include the PR number beside the change description for future reference
266266
- Update `lib/graphql/version.rb` with the new version number
267267
- Commit changes to master
268-
- Release to RubyGems with `bundle exec rake release`
268+
- Release to RubyGems
269+
- Without 2FA 😢: `bundle exec rake release`
270+
- With 2FA 😎: `bundle exec rake build` then `gem push pkg/graphql-<version>.gem`, `git tag v<version> && git push v<version>`
269271
- Update the website:
270272
- Generate new API docs with `bundle exec rake apidocs:gen_version[<your.version.number>]`
271273
- Push them to the website with `bundle exec rake site:publish`

0 commit comments

Comments
 (0)