Skip to content

Commit

Permalink
🔖 Prepare release v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pboling committed Mar 21, 2024
1 parent 8e00481 commit 51d7004
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed

## [1.1.4] 2024-03-21 ([tag][1.1.4t])
### Added
- Ruby 3.3 to CI (@pboling)
- Improved test coverage (via `kettle-soup-cover` 🎉) (@pboling)
### Fixed
- Remove the executable bit from non-executable files (@Fryguy)

Expand Down
55 changes: 50 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
## Contributing

Bug reports and pull requests are welcome on GitHub at [https://gitlab.com/oauth-xx/version_gem][🚎src-main]
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
the [code of conduct][🤝conduct].

To submit a patch, please fork the project and create a patch with
tests. Once you're happy with it send a pull request and post a message to the
[google group][⛳mail-list] or on the [gitter chat][🏘chat].

## Release

To release a new version:

1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
2. Update the version number in `version.rb`
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
a. NOTE: Remember to [check the build][🧪build]!
6. Run `git checkout main` (Or whichever branch is considered `trunk`, e.g. `master`)
7. Run `git pull origin main` to ensure you will release the latest trunk code.
8. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS`
9. Run `bundle exec rake build`
10. Run [`bin/checksums`](https://github.com/rubygems/guides/pull/325) to create SHA-256 and SHA-512 checksums
a. Checksums will be committed automatically by the script, but not pushed
11. Run `bundle exec rake release` which will create a git tag for the version,
push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]

NOTE: You will need to have a public key in `certs/`, and list your cert in the
`gemspec`, in order to sign the new release.
See: [RubyGems Security Guide][🔒️rubygems-security-guide]

## Contributors

[![Contributors](https://contrib.rocks/image?repo=oauth-xx/version_gem)][🖐contributors]

Made with [contributors-img][🖐contrib-rocks].

Also see GitLab Contributors: [https://gitlab.com/oauth-xx/version_gem/-/graphs/main][🚎contributors]

## Contributing

Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/oauth-xx/version_gem][🚎src-main]
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
the [code of conduct][conduct].
Expand Down Expand Up @@ -27,14 +69,17 @@ See: [RubyGems Security Guide][rubygems-security-guide]

## Contributors

See: [https://gitlab.com/oauth-xx/version_gem/-/graphs/main][🚎contributors]

[comment]: <> (Following links are used by README, CONTRIBUTING)

[conduct]: https://gitlab.com/oauth-xx/version_gem/-/blob/main/CODE_OF_CONDUCT.md
[🚎contributors]: https://gitlab.com/oauth-xx/version_gem/-/graphs/main
[⛳mail-list]: http://groups.google.com/group/oauth-ruby
[🚎src-main]: https://gitlab.com/oauth-xx/version_gem
[🏘chat]: https://gitter.im/oauth-xx/version_gem
[rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
[rubygems]: https://rubygems.org
[🧪build]: https://github.com/oauth-xx/version_gem/actions
[🏘chat]: https://matrix.to/#/#pboling_version_gem:gitter.im
[🤝conduct]: https://gitlab.com/oauth-xx/version_gem/-/blob/main/CODE_OF_CONDUCT.md
[🖐contrib-rocks]: https://contrib.rocks
[🖐contributors]: https://github.com/oauth-xx/version_gem/graphs/contributors
[💎rubygems]: https://rubygems.org
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
[🚎src-main]: https://github.com/oauth-xx/version_gem
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
version_gem (1.1.3)
version_gem (1.1.4)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion lib/version_gem/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module VersionGem
module Version
VERSION = "1.1.3"
VERSION = "1.1.4"
# This would work in this gem, but not in external libraries,
# because version files are loaded in Gemspecs before bundler
# has a chance to load dependencies.
Expand Down

0 comments on commit 51d7004

Please sign in to comment.