Closed straight-shoota closed 2 years ago
master
CHANGELOG.md
VERSION
release/x.y
crystal_branch
<M.m.p>
git tag -s -a -m $VERSION $VERSION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
make -C docs publish_docs CRYSTAL_VERSION=${VERSION}
api/${VERSION}
make -C docs dist-redirect_latest CRYSTAL_VERSION=${VERSION}
api/latest
release/$VERSION
crystal-*-darwin-*.tar.gz
crystal-*-linux-*.tar.gz
crystal-*.pkg
crystal-*-docs.tar.gz
crystal.zip
crystal-$VERSION-windows-x86_64-msvc-unsupported.zip
./packages
export OBS_USER=
export OBS_PASSWORD=
./obs-release.sh devel:languages:crystal crystal $VERSION
crystallang/osc
osc build xUbuntu_20.04 x86_64
osc build Fedora_Rawhide x86_64
./obs-release.sh devel:languages:crystal crystal${VERSION%.*} $VERSION
open https://build.opensuse.org/project/show/home:$OBS_USER:branches:devel:langauges:crystal/crystal
OBS_PROJECT=home:$OBS_USER:branches:devel:languages:crystal bats test
latest
$ ./docker/apply-latest-tags.sh {version}
$ snapcraft login
$ snapcraft status crystal
$ snapcraft release crystal <revision-number> beta
$ snapcraft release crystal <revision-number> stable
$ brew install --build-from-source <source of formula>
.circleci/config.yml
bin/ci
prepare_build
.github/workflows/*.yml
shell.nix
latestCrystalBinary
nix-prefetch-url --unpack <url>
Release preparation
master
or split off release branch for backporting bugfixes.CHANGELOG.md
andVERSION
.Release process
Source release
release/x.y
)crystal_branch
. (https://github.com/crystal-lang/test-ecosystem/actions/runs/2102362287)<M.m.p>
pattern as {version}git tag -s -a -m $VERSION $VERSION
Publish documentation for the release
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
env variables definedmake -C docs publish_docs CRYSTAL_VERSION=${VERSION}
to publish docs toapi/${VERSION}
make -C docs dist-redirect_latest CRYSTAL_VERSION=${VERSION}
to apply redirect fromapi/latest
toapi/${VERSION}
release/$VERSION
Binary releases
crystal-*-darwin-*.tar.gz
crystal-*-linux-*.tar.gz
crystal-*.pkg
crystal-*-docs.tar.gz
crystal.zip
(GHA) ->crystal-$VERSION-windows-x86_64-msvc-unsupported.zip
./packages
export OBS_USER=
export OBS_PASSWORD=
./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
./obs-release.sh devel:languages:crystal crystal${VERSION%.*} $VERSION
open https://build.opensuse.org/project/show/home:$OBS_USER:branches:devel:langauges:crystal/crystal
OBS_PROJECT=home:$OBS_USER:branches:devel:languages:crystal bats test
latest
docker imageslatest
tags:$ ./docker/apply-latest-tags.sh {version}
$ snapcraft login
$ snapcraft status crystal
$ snapcraft release crystal <revision-number> beta
$ snapcraft release crystal <revision-number> stable
$ brew install --build-from-source <source of formula>
Release announcements
Post-release
master
branch to use released version.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>