-
Notifications
You must be signed in to change notification settings - Fork 2
Creating releases
Karl Stolley edited this page Apr 16, 2020
·
3 revisions
Note: these are from my personal notes and they need to be cleaned up --@karlstolley
- Create a release branch off of
master
(e.g.,git checkout -b 2.0.3
-> no v.) - Make a bump to the
VERSION
constant in the/lib/jted2.rb
file - Create a Git tag on the tip of the release branch (e.g.,
git tag v2.0.3
-> with a v.) - Push the tag up to GitHub
git push origin v2.0.3
- Cut the gem:
gem build jekyll-theme-ed2.gemspec
— it will drop right inside thejekyll-theme-ed2
working directory, but will be ignored by the.gitignore
file - Sign into rubygems.org if necessary (
gem signin
) - Push the gem to rubygems.org:
gem push jekyll-theme-ed2-2.0.3.gem
(If you have 2FA set up on rubygems.org, assuming you're signed in already, you'll still need to provide an OTP) - Delete the release branch on your machine
git branch -D 2.0.3
(the release commit will be preserved by the tag) - Go over to the tag listing on GitHub for
jekyll-theme-ed2
. https://github.com/minicomp/jekyll-theme-ed2/releases > hit theDraft a new release
button, choose the tag already pushed, and go to town writing release docs. Note: it’d be a great idea to keep a more detailed changelog while going along in future releases. - Make any necessary updates to the Ed. version roadmap at https://github.com/minicomp/ed/wiki/Version-Roadmap