You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@ We welcome your contributions to the project. Thank you!
4
4
5
5
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.
6
6
7
-
8
7
## What to contribute
9
8
10
9
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
50
49
51
50
### Releasing a new version
52
51
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`
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