Skip to content

Commit 966ee41

Browse files
authored
release: 24.11.1 (#691)
* release 24.11.1 Signed-off-by: Andrew Kenworthy <andrew.kenworthy@stackable.de> * fix build action: replace cargo set-version with sed for release PRs --------- Signed-off-by: Andrew Kenworthy <andrew.kenworthy@stackable.de>
1 parent 08c0652 commit 966ee41

File tree

10 files changed

+39
-33
lines changed

10 files changed

+39
-33
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,15 @@ jobs:
350350
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
351351
- name: Update version if PR against non-main branch
352352
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
353+
# We can't rely on cargo set-version here as we will break semver rules when changing the version to make it
354+
# specific to this PR e.g. 1.2.0 --> 1.2.0-pr678, so set it manually.
353355
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
354356
env:
355357
PR_NUMBER: ${{ github.event.pull_request.number }}
356358
run: |
357359
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
358360
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
359-
cargo set-version --offline --workspace "$PR_VERSION"
361+
sed -i "s/version = \"${MANIFEST_VERSION}\"/version = \"${PR_VERSION}\"/" Cargo.toml
360362
361363
# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the
362364
# default value in the makefile if called from this action, but not otherwise (i.e. when called locally).
@@ -425,13 +427,15 @@ jobs:
425427
run: cargo set-version --offline --workspace 0.0.0-pr${{ github.event.pull_request.number }}
426428
- name: Update version if PR against non-main branch
427429
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
430+
# We can't rely on cargo set-version here as we will break semver rules when changing the version to make it
431+
# specific to this PR e.g. 1.2.0 --> 1.2.0-pr678, so set it manually.
428432
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
429433
env:
430434
PR_NUMBER: ${{ github.event.pull_request.number }}
431435
run: |
432436
MANIFEST_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
433437
PR_VERSION="${MANIFEST_VERSION}-pr${PR_NUMBER}"
434-
cargo set-version --offline --workspace "$PR_VERSION"
438+
sed -i "s/version = \"${MANIFEST_VERSION}\"/version = \"${PR_VERSION}\"/" Cargo.toml
435439
- name: Build manifest list
436440
run: |
437441
# Creating manifest list

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
## [24.11.1] - 2025-01-10
8+
79
## [24.11.1-rc2] - 2024-12-12
810

911
## [24.11.1-rc1] - 2024-12-06

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["rust/crd", "rust/operator-binary"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "24.11.1-rc2"
6+
version = "24.11.1"
77
authors = ["Stackable GmbH <info@stackable.tech>"]
88
license = "OSL-3.0"
99
edition = "2021"

deploy/helm/trino-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
apiVersion: v2
33
name: trino-operator
4-
version: "24.11.1-rc2"
5-
appVersion: "24.11.1-rc2"
4+
version: "24.11.1"
5+
appVersion: "24.11.1"
66
description: The Stackable Operator for Trino
77
home: https://github.com/stackabletech/trino-operator
88
maintainers:

docs/modules/trino/examples/getting_started/code/getting_started.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ helm repo update
3333

3434
echo "Installing Operators with Helm"
3535
# tag::helm-install-operators[]
36-
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1-rc2
37-
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1-rc2
38-
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1-rc2
39-
helm install --wait trino-operator stackable-stable/trino-operator --version 24.11.1-rc2
36+
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1
37+
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1
38+
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1
39+
helm install --wait trino-operator stackable-stable/trino-operator --version 24.11.1
4040
# end::helm-install-operators[]
4141
;;
4242
"stackablectl")
4343
echo "installing Operators with stackablectl"
4444
# tag::stackablectl-install-operators[]
4545
stackablectl operator install \
46-
commons=24.11.1-rc2 \
47-
secret=24.11.1-rc2 \
48-
listener=24.11.1-rc2 \
49-
trino=24.11.1-rc2
46+
commons=24.11.1 \
47+
secret=24.11.1 \
48+
listener=24.11.1 \
49+
trino=24.11.1
5050
# end::stackablectl-install-operators[]
5151
;;
5252
*)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Installed commons=24.11.1-rc2 operator
2-
Installed secret=24.11.1-rc2 operator
3-
Installed listener=24.11.1-rc2 operator
4-
Installed trino=24.11.1-rc2 operator
1+
Installed commons=24.11.1 operator
2+
Installed secret=24.11.1 operator
3+
Installed listener=24.11.1 operator
4+
Installed trino=24.11.1 operator

docs/templating_vars.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ helm:
33
repo_name: stackable-stable
44
repo_url: https://repo.stackable.tech/repository/helm-stable/
55
versions:
6-
commons: 24.11.1-rc2
7-
secret: 24.11.1-rc2
8-
listener: 24.11.1-rc2
9-
trino: 24.11.1-rc2
6+
commons: 24.11.1
7+
secret: 24.11.1
8+
listener: 24.11.1
9+
trino: 24.11.1

tests/release.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ releases:
77
description: Integration test
88
products:
99
commons:
10-
operatorVersion: 24.11.1-rc2
10+
operatorVersion: 24.11.1
1111
secret:
12-
operatorVersion: 24.11.1-rc2
12+
operatorVersion: 24.11.1
1313
listener:
14-
operatorVersion: 24.11.1-rc2
14+
operatorVersion: 24.11.1
1515
zookeeper:
16-
operatorVersion: 24.11.1-rc2
16+
operatorVersion: 24.11.1
1717
hdfs:
18-
operatorVersion: 24.11.1-rc2
18+
operatorVersion: 24.11.1
1919
hive:
20-
operatorVersion: 24.11.1-rc2
20+
operatorVersion: 24.11.1
2121
opa:
22-
operatorVersion: 24.11.1-rc2
22+
operatorVersion: 24.11.1
2323
trino:
24-
operatorVersion: 24.11.1-rc2
24+
operatorVersion: 24.11.1

0 commit comments

Comments
 (0)