You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publish build artifacts from CircleCI and GitHub Actions to GitHub release. For URL_TO_CIRCLECI_ARTIFACT grab the URL
of any of the build artifacts in circleCI (doesn't matter which).
Run make -C docs publish_docs dist-redirect_latest CRYSTAL_VERSION=1.14.0 to publish docs to api/1.14.0 and apply redirect from api/latest to api/1.14.0
Publish Crystal book
Create release/1.14 branch and push it to crystal-lang/crystal-book (deployment happens automatically in GHA)
git push (GitHub branch protection rules normally prevent direct pushes to master. This needs to be deactivated for this purpose, which can be on a
per-user basis.)
The text was updated successfully, but these errors were encountered:
Release preparation
crystal:scripts/github-changelog.cr
is:pr is:merged sort:updated-desc no:milestone
).is:pr is:merged sort:updated-desc no:label milestone:1.14.0
).master
or split off release branch for backporting bugfixes.CHANGELOG.md
,src/VERSION
and the version inshard.yml
.Release process (on 2024-10-09)
Source release
release/x.y
)crystal_branch
.../distribution-scripts/processes/scripts/make-crystal-release.sh
(run fromcrystallang/crystal@$VERSION
work tree). This performs these steps:<M.m.p>
pattern as versiongit tag -s -a -m $VERSION $VERSION
git push --tags
Binary releases
URL_TO_CIRCLECI_ARTIFACT
grab the URLof any of the build artifacts in circleCI (doesn't matter which).
../distribution-scripts/processes/scripts/publish-crystal-packages-on-github.sh $URL_TO_CIRCLECI_ARTIFACT
(run fromcrystallang/crystal@$VERSION
work tree)crystal-*-darwin-*.tar.gz
crystal-*-linux-*.tar.gz
crystal-*.pkg
crystal-*-docs.tar.gz
crystal-release.zip
->crystal-$VERSION-windows-x86_64-msvc-unsupported.zip
crystal-installer.zip
-> unzip ->crystal-$VERSION-windows-x86_64-msvc-unsupported.exe
./packages
export OBS_USER=
export OBS_PASSWORD=
crystal
package:./obs-release.sh devel:languages:crystal crystal $VERSION
crystallang/osc
to run the CLI client for OBS.osc build xUbuntu_20.04 x86_64
osc build Fedora_Rawhide x86_64
crystal1.14
package:./obs-new-minor.sh devel:languages:crystal crystal1.14 $VERSION crystal${OLD_VERSION%.*}
open https://build.opensuse.org/project/show/home:$OBS_USER:branches:devel:langauges:crystal/crystal
OBS_PROJECT=devel:languages:crystal bats test
latest
docker imageslatest
tags:./docker/apply-latest-tags.sh 1.14.0
snapcore/snapcraft
for running the following commands)docker run --pull=always --rm -it snapcore/snapcraft
snapcraft login
snapcraft status crystal
snapcraft release crystal <revision-number> beta
snapcraft release crystal <revision-number> stable
Publish documentation for the release
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
env variables definedmake -C docs publish_docs dist-redirect_latest CRYSTAL_VERSION=1.14.0
to publish docs toapi/1.14.0
and apply redirect fromapi/latest
toapi/1.14.0
release/1.14
branch and push it tocrystal-lang/crystal-book
(deployment happens automatically in GHA)Release announcements
Post-release
master
branch to use released version:crystal:scripts/release-update.sh 1.14.0
.circleci/config.yml
bin/ci
prepare_build
on_osx download package and folder.github/workflows/*.yml
to point to docker imageshell.nix
latestCrystalBinary
usingnix-prefetch-url --unpack <url>
src/VERSION
and version inshard.yml
to the next minor plus-dev
suffixtest-ecosystem:scripts/release-update.sh 1.14.0
release/1.14
branch intomaster
(if the two have diverged)git switch master && git pull && git merge release/1.14; git checkout master src/VERSION && git add src/VERSION && git commit
git push
(GitHub branch protection rules normally prevent direct pushes tomaster
. This needs to be deactivated for this purpose, which can be on aper-user basis.)
The text was updated successfully, but these errors were encountered: