- Update the gem version in
lib/pcloud/version.rb
. - Make any documentation updates.
- Push and merge all changes.
- Tag a new release in GitHub and summarize the changes since the last release.
- Build the gem locally:
gem build pcloud_api.gemspec
.- To test the gem in a local project, you can install it with
gem install --local pcloud_api-<VERSION>.gem
- Make sure to update your
Gemfile
to point at the path where you built the gem, i.e.gem "pcloud_api", path: "~/src/pcloud_api/"
- To test the gem in a local project, you can install it with
- Publish the gem to rubygems.org:
gem push pcloud_api-<VERSION>.gem
.