Release a new RubyInstaller version
- Update the [CHANGELOG.md]) file based on the recommendations of keepachangelog.
- Use a headline kind of
RubyInstaller-2.4.1-3 - YYYY-MM-DDor set a particular date in ISO format. Hereby2.4.1is the base ruby version and-3is the RubyInstaller package increment. Release candidates of the base ruby are labeled asRubyInstaller-2.5.0.rc1-1or similar. The RubyInstaller package increment is reset to-1for each new ruby verison. - In a terminal, make sure you are on master and completely up-to-date with the remote server, then run:
rake release:tag[RubyInstaller-2.4.1-3]
This updates the release date in CHANGELOG.md and adds a git tag like rubyinstaller-2.4.1-3 (based on the headline) and adds the relevant CHANGELOG section as git tag annotation.
git push --follow-tags# Pushes the commit and the tag to the remote server.- After pushing the tag, Github Actions will build and, if successful, uploads it to the github releases.
When it's finished, open the newly created github release, verify that the content and all expected packages and signature files are available. Set the tag name to the name created by
rake release:tag. Check the release/prerelease tag and publish the release.Now pull/clone https://github.com/oneclick/rubyinstaller.org-website
Run
rake release:addto filldownloads.ymlwith missing releases retrieved from github.RubyInstallerexecutables are signed per [[Certum's Microsoft Authenticode Code Signing certificates|CertumCodeSigning]]. Make sure osslsigncode is installed.Run
rake release:signto add a code signature to all exe files just downloaded. This re-signs by gpg and updates the SHA256 hash values. All changed files are deleted from the github release and re-uploaded.While the uploades run, add a new release post to the
_postsdirectory. But don't alter thedownload.yamlfile whilerake release:signis running!Manually set attribute
show, so that the latest release of each ruby branch is shown on the download page.Manually set attribute
recommended, so that the recommended release for new installations is highlighted on the download page.Verify everything looks good by running
jekyll serveand browsing to http://localhost:4000Push to the github repository and wait for the updates being available on https://rubyinstaller.org . It can take up to one hour until all nodes in the CDN are up-to-date.