README.md in gitlab-fluent-plugin-redis-slowlog-0.0.1.pre vs README.md in gitlab-fluent-plugin-redis-slowlog-0.0.1

- old
+ new

@@ -92,5 +92,41 @@ ### interval (integer) (optional) The time in seconds to wait between `SLOWLOG` commands. Default value: `10`. + +## Development + +After checking out the repository, run `bundle install` to install all +dependencies. + +After that, you can run `bundle exec rake` to run all lints and +specs. + +Other rake tasks: + +``` +rake build # Build gitlab-fluent-plugin-redis-slowlog-0.gem into the pkg directory +rake clean # Remove any temporary products +rake clobber # Remove any generated files +rake console # Start an interactive console with the gem loaded +rake install # Build and install gitlab-fluent-plugin-redis-slowlog-0.gem into system gems +rake install:local # Build and install gitlab-fluent-plugin-redis-slowlog-0.gem into system gems without network access +rake release[remote] # Create tag v0 and build and push gitlab-fluent-plugin-redis-slowlog-0.gem to rubygems.org +rake spec # Run RSpec code examples +rake verify # Run RuboCop +rake verify:auto_correct # Auto-correct RuboCop offenses +``` + +### Releasing a new version + +Releasing a new version can be done by pushing a new tag, or creating +it from the +[interface](https://gitlab.com/gitlab-org/fluent-plugin-redis-slowlog/-/tags). + +A new changelog will automatically be added to the release on GitLab. + +The new version will automatically be published to +[rubygems](https://rubygems.org/gems/gitlab-fluent-plugin-redis-slowlog) +when the pipeline for the tag completes. It might take a few minutes +before the update is available.