This gem uses bundler/gem_tasks to manage releases.
- Make sure your working directory is clean and you are on the
mainbranch. - Update the version in
lib/lookbook_visual_tester/version.rb. - Update the
CHANGELOG.md. - Run the release task:
This will:
bundle exec rake release:otp- Create a git tag for the version.
- Push git commits and tags.
- Build the gem.
- Push the
.gemfile to RubyGems.org.
If you encounter issues with authentication, ensure you are logged in to RubyGems via the gem CLI:
gem signinIf you need to supply a 2FA/OTP code manually or for a script, you can use the release:otp task or set the GEM_HOST_OTP_CODE environment variable:
GEM_HOST_OTP_CODE=123456 bundle exec rake release