Skip to content

Commit 45e348b

Browse files
committed
Run Erlang/OTP 25 release builds
Closes #14113.
1 parent 933b008 commit 45e348b

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,17 @@ jobs:
5959
fail-fast: true
6060
matrix:
6161
include:
62+
- otp: 25
63+
otp_version: "25.3"
64+
run_job: ${{ startsWith(github.ref_name, 'v1.18') }}
6265
- otp: 26
6366
otp_version: "26.0"
67+
run_job: true
6468
- otp: 27
6569
otp_version: "27.0"
6670
build_docs: build_docs
71+
run_job: true
72+
if: ${{ matrix.run_job == 'true' }}
6773
runs-on: ubuntu-22.04
6874
steps:
6975
- uses: actions/checkout@v4
@@ -113,7 +119,7 @@ jobs:
113119
with:
114120
name: Docs
115121
path: Docs.zip*
116-
122+
117123
sign:
118124
needs: [build]
119125
strategy:
@@ -158,14 +164,14 @@ jobs:
158164
run: cp "$ATTESTATION" "${RELEASE_FILE}.sigstore"
159165
env:
160166
ATTESTATION: "${{ steps.attest-provenance.outputs.bundle-path }}"
161-
167+
162168
- name: Create Release Hashes
163169
if: matrix.flavor == 'windows'
164170
shell: pwsh
165171
run: |
166172
$sha1 = Get-FileHash "$env:RELEASE_FILE" -Algorithm SHA1
167173
$sha1.Hash.ToLower() + " " + $env:RELEASE_FILE | Out-File "$env:RELEASE_FILE.sha1sum"
168-
174+
169175
$sha256 = Get-FileHash "$env:RELEASE_FILE" -Algorithm SHA256
170176
$sha256.Hash.ToLower() + " " + $env:RELEASE_FILE | Out-File "$env:RELEASE_FILE.sha256sum"
171177
@@ -189,7 +195,7 @@ jobs:
189195
steps:
190196
- uses: actions/download-artifact@v4
191197
with:
192-
pattern: '{sign-*-elixir-otp-*,Docs}'
198+
pattern: "{sign-*-elixir-otp-*,Docs}"
193199
merge-multiple: true
194200

195201
- name: Upload Pre-built
@@ -233,7 +239,7 @@ jobs:
233239
steps:
234240
- uses: actions/download-artifact@v4
235241
with:
236-
pattern: '{sign-*-elixir-otp-*,Docs}'
242+
pattern: "{sign-*-elixir-otp-*,Docs}"
237243
merge-multiple: true
238244

239245
- name: Init purge keys file

RELEASE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
### In the new branch
2424

25-
1. Comment out `CANONICAL=` in /Makefile
25+
1. Comment the `CANONICAL=` in /Makefile
2626

2727
2. Update tables in /SECURITY.md and "Compatibility and Deprecations"
2828

@@ -44,6 +44,6 @@
4444

4545
2. Update `otp_release` checks in `/Makefile` and `/lib/elixir/src/elixir.erl`
4646

47-
3. Update relevant CI workflows in `/.github/workflows/*.yml`
47+
3. Update relevant CI workflows in `/.github/workflows/*.yml` - for release workflows, outdated/recently added Erlang/OTP versions must run conditionally
4848

4949
4. Remove `otp_release` version checks that are no longer needed

0 commit comments

Comments
 (0)