Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ parameters:
previous_crystal_base_url:
description: "Prefix for URLs to Crystal bootstrap compiler"
type: string
default: "https://github.com/crystal-lang/crystal/releases/download/1.16.1/crystal-1.16.1-1"
default: "https://github.com/crystal-lang/crystal/releases/download/1.16.2/crystal-1.16.2-1"

defaults:
environment: &env
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aarch64-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: "1.16.1"
crystal: "1.16.2"

- name: Cross-compile Crystal
run: make target=aarch64-linux-gnu release=1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/forward-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
crystal_bootstrap_version: [1.7.3, 1.8.2, 1.9.2, 1.10.1, 1.11.2, 1.12.2, 1.13.3, 1.14.1, 1.15.1, 1.16.1]
crystal_bootstrap_version: [1.7.3, 1.8.2, 1.9.2, 1.10.1, 1.11.2, 1.12.2, 1.13.3, 1.14.1, 1.15.1, 1.16.2]
flags: [""]
include:
# libffi is only available starting from the 1.2.2 build images
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/interpreter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
test-interpreter_spec:
runs-on: ubuntu-24.04
container:
image: crystallang/crystal:1.16.1-build
image: crystallang/crystal:1.16.2-build
name: "Test Interpreter"
steps:
- uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:
build-interpreter:
runs-on: ubuntu-24.04
container:
image: crystallang/crystal:1.16.1-build
image: crystallang/crystal:1.16.2-build
name: Build interpreter
steps:
- uses: actions/checkout@v4
Expand All @@ -45,7 +45,7 @@ jobs:
needs: build-interpreter
runs-on: ubuntu-24.04
container:
image: crystallang/crystal:1.16.1-build
image: crystallang/crystal:1.16.2-build
strategy:
matrix:
part: [0, 1, 2, 3]
Expand All @@ -69,7 +69,7 @@ jobs:
needs: build-interpreter
runs-on: ubuntu-24.04
container:
image: crystallang/crystal:1.16.1-build
image: crystallang/crystal:1.16.2-build
name: "Test primitives_spec with interpreter"
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# libffi is only available starting from the 1.2.2 build images
- crystal_bootstrap_version: 1.0.0
flags: "FLAGS=-Dwithout_ffi USE_PCRE1=true"
- crystal_bootstrap_version: 1.16.1 # LATEST RELEASE
- crystal_bootstrap_version: 1.16.2 # LATEST RELEASE
steps:
- name: Download Crystal source
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: "1.16.1"
crystal: "1.16.2"

- name: Build libllvm_ext
run: make -B deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
libssl_test:
runs-on: ubuntu-latest
name: "${{ matrix.pkg }}"
container: crystallang/crystal:1.16.1-alpine
container: crystallang/crystal:1.16.2-alpine
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/regex-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
pcre:
runs-on: ubuntu-latest
name: "PCRE"
container: crystallang/crystal:1.16.1-alpine
container: crystallang/crystal:1.16.2-alpine
steps:
- name: Download Crystal source
uses: actions/checkout@v4
Expand All @@ -44,7 +44,7 @@ jobs:
pcre2:
runs-on: ubuntu-latest
name: "PCRE2"
container: crystallang/crystal:1.16.1-alpine
container: crystallang/crystal:1.16.2-alpine
steps:
- name: Download Crystal source
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
wasm32-test:
runs-on: ubuntu-24.04
container: crystallang/crystal:1.16.1-build
container: crystallang/crystal:1.16.2-build
steps:
- name: Download Crystal source
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/win_build_portable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: crystal-lang/install-crystal@v1
id: install-crystal
with:
crystal: "1.16.1"
crystal: "1.16.2"

- name: Download Crystal source
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions bin/ci
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ format() {
prepare_build() {
on_linux verify_linux_environment

on_osx curl -L https://github.com/crystal-lang/crystal/releases/download/1.16.1/crystal-1.16.1-1-darwin-universal.tar.gz -o ~/crystal.tar.gz
on_osx 'pushd ~;gunzip -c ~/crystal.tar.gz | tar xopf -;mv crystal-1.16.1-1 crystal;popd'
on_osx curl -L https://github.com/crystal-lang/crystal/releases/download/1.16.2/crystal-1.16.2-1-darwin-universal.tar.gz -o ~/crystal.tar.gz
on_osx 'pushd ~;gunzip -c ~/crystal.tar.gz | tar xopf -;mv crystal-1.16.2-1 crystal;popd'

# These commands may take a few minutes to run due to the large size of the repositories.
# This restriction has been made on GitHub's request because updating shallow
Expand Down Expand Up @@ -189,7 +189,7 @@ with_build_env() {

on_linux verify_linux_environment

export DOCKER_TEST_PREFIX="${DOCKER_TEST_PREFIX:=crystallang/crystal:1.16.1}"
export DOCKER_TEST_PREFIX="${DOCKER_TEST_PREFIX:=crystallang/crystal:1.16.2}"

case $ARCH in
x86_64)
Expand Down
9 changes: 6 additions & 3 deletions scripts/release-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ rm -f src/SOURCE_DATE_EPOCH

# Truncate CHANGELOG.md
sed -i -E '/^## \[/,/^## Previous Releases/{/^## Previous Releases/!d}' CHANGELOG.md
sed -i -E "/For information on prior releases/{ N;a\
* [${CRYSTAL_VERSION%.*}](https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION%.*}/CHANGELOG.md)
}" CHANGELOG.md

if ! grep -q https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION%.*}/CHANGELOG.md CHANGELOG.md; then
sed -i -E "/For information on prior releases/{ N;a\
* [${CRYSTAL_VERSION%.*}](https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION%.*}/CHANGELOG.md)
}" CHANGELOG.md
fi

# Edit PREVIOUS_CRYSTAL_BASE_URL in .circleci/config.yml
sed -i -E "s|[0-9.]+/crystal-[0-9.]+-[0-9]|$CRYSTAL_VERSION/crystal-$CRYSTAL_VERSION-1|g" .circleci/config.yml
Expand Down
12 changes: 6 additions & 6 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@ let
# Hashes obtained using `nix-prefetch-url --unpack <url>`
latestCrystalBinary = genericBinary ({
x86_64-darwin = {
url = "https://github.com/crystal-lang/crystal/releases/download/1.16.1/crystal-1.16.1-1-darwin-universal.tar.gz";
sha256 = "sha256:1xpqc6063c50p1780ksr6m4gnk1kwf3nl6hf8aj0gjliy2qfn95i";
url = "https://github.com/crystal-lang/crystal/releases/download/1.16.2/crystal-1.16.2-1-darwin-universal.tar.gz";
sha256 = "sha256:1jgy7035bid7gg413yawl4v8wdacjs8hd9y6l04gvvajd3zc7asq";
};

aarch64-darwin = {
url = "https://github.com/crystal-lang/crystal/releases/download/1.16.1/crystal-1.16.1-1-darwin-universal.tar.gz";
sha256 = "sha256:1xpqc6063c50p1780ksr6m4gnk1kwf3nl6hf8aj0gjliy2qfn95i";
url = "https://github.com/crystal-lang/crystal/releases/download/1.16.2/crystal-1.16.2-1-darwin-universal.tar.gz";
sha256 = "sha256:1jgy7035bid7gg413yawl4v8wdacjs8hd9y6l04gvvajd3zc7asq";
};

x86_64-linux = {
url = "https://github.com/crystal-lang/crystal/releases/download/1.16.1/crystal-1.16.1-1-linux-x86_64.tar.gz";
sha256 = "sha256:0dbdi011nlzqfslzjs5z25pa62k532886mx1lrwaggr06a7z2mhd";
url = "https://github.com/crystal-lang/crystal/releases/download/1.16.2/crystal-1.16.2-1-linux-x86_64.tar.gz";
sha256 = "sha256:14d7p6lfyiccqj6ymlrz3zpjh8idrg179pw62nlcak4sail80ijk";
};
}.${pkgs.stdenv.system});

Expand Down
Loading