Skip to content

Commit c43ab60

Browse files
Update previous Crystal release 1.16.2 (#15730)
1 parent 96c47b4 commit c43ab60

File tree

13 files changed

+29
-26
lines changed

13 files changed

+29
-26
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ parameters:
1212
previous_crystal_base_url:
1313
description: "Prefix for URLs to Crystal bootstrap compiler"
1414
type: string
15-
default: "https://github.com/crystal-lang/crystal/releases/download/1.16.1/crystal-1.16.1-1"
15+
default: "https://github.com/crystal-lang/crystal/releases/download/1.16.2/crystal-1.16.2-1"
1616

1717
defaults:
1818
environment: &env

.github/workflows/aarch64-github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Crystal
2929
uses: crystal-lang/install-crystal@v1
3030
with:
31-
crystal: "1.16.1"
31+
crystal: "1.16.2"
3232

3333
- name: Cross-compile Crystal
3434
run: make target=aarch64-linux-gnu release=1

.github/workflows/forward-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
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]
37+
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]
3838
flags: [""]
3939
include:
4040
# libffi is only available starting from the 1.2.2 build images

.github/workflows/interpreter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
test-interpreter_spec:
1616
runs-on: ubuntu-24.04
1717
container:
18-
image: crystallang/crystal:1.16.1-build
18+
image: crystallang/crystal:1.16.2-build
1919
name: "Test Interpreter"
2020
steps:
2121
- uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
2626
build-interpreter:
2727
runs-on: ubuntu-24.04
2828
container:
29-
image: crystallang/crystal:1.16.1-build
29+
image: crystallang/crystal:1.16.2-build
3030
name: Build interpreter
3131
steps:
3232
- uses: actions/checkout@v4
@@ -45,7 +45,7 @@ jobs:
4545
needs: build-interpreter
4646
runs-on: ubuntu-24.04
4747
container:
48-
image: crystallang/crystal:1.16.1-build
48+
image: crystallang/crystal:1.16.2-build
4949
strategy:
5050
matrix:
5151
part: [0, 1, 2, 3]
@@ -69,7 +69,7 @@ jobs:
6969
needs: build-interpreter
7070
runs-on: ubuntu-24.04
7171
container:
72-
image: crystallang/crystal:1.16.1-build
72+
image: crystallang/crystal:1.16.2-build
7373
name: "Test primitives_spec with interpreter"
7474
steps:
7575
- uses: actions/checkout@v4

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# libffi is only available starting from the 1.2.2 build images
3232
- crystal_bootstrap_version: 1.0.0
3333
flags: "FLAGS=-Dwithout_ffi USE_PCRE1=true"
34-
- crystal_bootstrap_version: 1.16.1 # LATEST RELEASE
34+
- crystal_bootstrap_version: 1.16.2 # LATEST RELEASE
3535
steps:
3636
- name: Download Crystal source
3737
uses: actions/checkout@v4

.github/workflows/llvm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install Crystal
5757
uses: crystal-lang/install-crystal@v1
5858
with:
59-
crystal: "1.16.1"
59+
crystal: "1.16.2"
6060

6161
- name: Build libllvm_ext
6262
run: make -B deps

.github/workflows/openssl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
libssl_test:
2828
runs-on: ubuntu-latest
2929
name: "${{ matrix.pkg }}"
30-
container: crystallang/crystal:1.16.1-alpine
30+
container: crystallang/crystal:1.16.2-alpine
3131
strategy:
3232
fail-fast: false
3333
matrix:

.github/workflows/regex-engine.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
pcre:
3030
runs-on: ubuntu-latest
3131
name: "PCRE"
32-
container: crystallang/crystal:1.16.1-alpine
32+
container: crystallang/crystal:1.16.2-alpine
3333
steps:
3434
- name: Download Crystal source
3535
uses: actions/checkout@v4
@@ -44,7 +44,7 @@ jobs:
4444
pcre2:
4545
runs-on: ubuntu-latest
4646
name: "PCRE2"
47-
container: crystallang/crystal:1.16.1-alpine
47+
container: crystallang/crystal:1.16.2-alpine
4848
steps:
4949
- name: Download Crystal source
5050
uses: actions/checkout@v4

.github/workflows/wasm32.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
wasm32-test:
1616
runs-on: ubuntu-24.04
17-
container: crystallang/crystal:1.16.1-build
17+
container: crystallang/crystal:1.16.2-build
1818
steps:
1919
- name: Download Crystal source
2020
uses: actions/checkout@v4

.github/workflows/win_build_portable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: crystal-lang/install-crystal@v1
2828
id: install-crystal
2929
with:
30-
crystal: "1.16.1"
30+
crystal: "1.16.2"
3131

3232
- name: Download Crystal source
3333
uses: actions/checkout@v4

bin/ci

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ format() {
135135
prepare_build() {
136136
on_linux verify_linux_environment
137137

138-
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
139-
on_osx 'pushd ~;gunzip -c ~/crystal.tar.gz | tar xopf -;mv crystal-1.16.1-1 crystal;popd'
138+
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
139+
on_osx 'pushd ~;gunzip -c ~/crystal.tar.gz | tar xopf -;mv crystal-1.16.2-1 crystal;popd'
140140

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

190190
on_linux verify_linux_environment
191191

192-
export DOCKER_TEST_PREFIX="${DOCKER_TEST_PREFIX:=crystallang/crystal:1.16.1}"
192+
export DOCKER_TEST_PREFIX="${DOCKER_TEST_PREFIX:=crystallang/crystal:1.16.2}"
193193

194194
case $ARCH in
195195
x86_64)

scripts/release-update.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ rm -f src/SOURCE_DATE_EPOCH
2424

2525
# Truncate CHANGELOG.md
2626
sed -i -E '/^## \[/,/^## Previous Releases/{/^## Previous Releases/!d}' CHANGELOG.md
27-
sed -i -E "/For information on prior releases/{ N;a\
28-
* [${CRYSTAL_VERSION%.*}](https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION%.*}/CHANGELOG.md)
29-
}" CHANGELOG.md
27+
28+
if ! grep -q https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION%.*}/CHANGELOG.md CHANGELOG.md; then
29+
sed -i -E "/For information on prior releases/{ N;a\
30+
* [${CRYSTAL_VERSION%.*}](https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION%.*}/CHANGELOG.md)
31+
}" CHANGELOG.md
32+
fi
3033

3134
# Edit PREVIOUS_CRYSTAL_BASE_URL in .circleci/config.yml
3235
sed -i -E "s|[0-9.]+/crystal-[0-9.]+-[0-9]|$CRYSTAL_VERSION/crystal-$CRYSTAL_VERSION-1|g" .circleci/config.yml

shell.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ let
5353
# Hashes obtained using `nix-prefetch-url --unpack <url>`
5454
latestCrystalBinary = genericBinary ({
5555
x86_64-darwin = {
56-
url = "https://github.com/crystal-lang/crystal/releases/download/1.16.1/crystal-1.16.1-1-darwin-universal.tar.gz";
57-
sha256 = "sha256:1xpqc6063c50p1780ksr6m4gnk1kwf3nl6hf8aj0gjliy2qfn95i";
56+
url = "https://github.com/crystal-lang/crystal/releases/download/1.16.2/crystal-1.16.2-1-darwin-universal.tar.gz";
57+
sha256 = "sha256:1jgy7035bid7gg413yawl4v8wdacjs8hd9y6l04gvvajd3zc7asq";
5858
};
5959

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

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

0 commit comments

Comments
 (0)