- Create branch
X.Y.Zfrommain. - Update
VERSIONinlib/castle/version.rbto the new version - Run
bundle - Update the
CHANGELOG.mdfor the impending release git commit -am "release X.Y.Z."(where X.Y.Z is the new version)- Push to Github, make PR to the
mainbranch, and when approved, merge. - Make a release on Github from the
mainbranch, specify tag asvX.Y.Zto create a tag. git checkout main && git pullgem build castle-rb.gemspecgem push castle-rb-X.Y.Z.gem