Skip to content

Commit 61abc6b

Browse files
committed
update release docs
1 parent 49f4189 commit 61abc6b

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ We welcome your contributions to the project. Thank you!
44

55
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
66

7-
87
## What to contribute
98

109
This repository, `rubocop-github`, is part of a broader RuboCop ecosystem.
@@ -50,12 +49,8 @@ Rubocop regularly releases new versions with new cops. We want to keep up to dat
5049

5150
### Releasing a new version
5251

53-
1. Update `rubocop-github.gemspec` with the next version number
54-
1. Update the `CHANGELOG` with changes and contributor
55-
1. Run `bundle` to update gem version contained in the lockfile
56-
1. Make a commit: `Release v{VERSION}`
57-
1. Tag the commit : `git tag v{VERSION}`
58-
1. Create the package: `gem build rubocop-github.gemspec`
59-
1. Push to GitHub: `git push origin && git push origin --tags`
60-
1. Push to Rubygems: `gem push rubocop-github-{VERSION}.gem`
61-
1. Publish a new release on GitHub: https://github.com/github/rubocop-github/releases/new
52+
1. Update [`lib/version.rb`](lib/version.rb) with the next version number
53+
2. Update the `CHANGELOG` with changes and contributor
54+
3. Run `bundle` to update gem version contained in the lockfile
55+
4. Commit your changes and open a pull request
56+
5. When the pull request is approved and merged into `main`, the [`.github/workflows/release.yml`](.github/workflows/release.yml) workflow will automatically run to release the new version to RubyGems and GitHub Packages 🎉.

0 commit comments

Comments
 (0)