SuperAPI AI Directory

releasing-coplan

General & other

View repository

Updated 10-15 17:27

About this skill

Releasing coplan-engine

Publish the coplan-engine gem to RubyGems.org.

Steps

1. Bump the version

Edit engine/lib/coplan/version.rb and update CoPlan::VERSION to the new version number.

2. Commit the version bump

git add engine/lib/coplan/version.rb
git commit -m "Bump version to vX.Y.Z"

3. Tag the release

git tag vX.Y.Z
git push origin main --tags

4. Build and publish the gem

cd engine
gem build coplan.gemspec
gem push coplan-engine-X.Y.Z.gem

This will prompt for RubyGems MFA. The human must complete this step interactively.

5. Create a GitHub release

gh release create vX.Y.Z --generate-notes

Version guidelines

  • Patch (0.1.x): bug fixes, docs changes
  • Minor (0.x.0): new features, non-breaking changes
  • Major (x.0.0): breaking API changes