Skip to content

Commit f693207

Browse files
committed
Adjust release template and script
1 parent bb62e20 commit f693207

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎scripts/prepare-release.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ create_release_file() {
164164
yq -i '.spec.releasePlan |= (sub("RELEASE_ENV", env(RELEASE_ENV)) | sub("X-Y", env(VERSION_DASHED)))' "${target}"
165165
yq -i '(.spec.data.mapping.defaults.tags[] | select(test("X\\.Y\\.Z"))) |= sub("X\\.Y\\.Z", env(RELEASE_VERSION))' "${target}"
166166
yq -i '(.spec.data.mapping.defaults.tags[] | select(test("X\\.Y"))) |= sub("X\\.Y", env(VERSION))' "${target}"
167-
yq -i '.spec.data.releaseNotes.topic |= sub("X\\.Y\\.Z", env(RELEASE_VERSION))' "${target}"
168-
yq -i '.spec.data.releaseNotes.description |= sub("X\\.Y\\.Z", env(RELEASE_VERSION))' "${target}"
167+
yq -i '(.spec.data.releaseNotes.references[] | select(test("X\\.Y\\.Z"))) |= sub("X\\.Y\\.Z", env(RELEASE_VERSION))' "${target}"
169168
}
170169

171170
main() {

‎scripts/templates/release-resource.yaml‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ spec:
1717
- "X.Y.Z"
1818
- "X.Y.Z-{{ incrementer }}"
1919
releaseNotes:
20-
synopsis: 'Agentic cluster security suite release'
21-
topic: 'The Tech Preview X.Y.Z (TP) release of agentic cluster security suite introduces early access to ACS MCP server'
22-
description: 'The Tech Preview X.Y.Z (TP) release of agentic cluster security suite.'
23-
solution: 'The agentic cluster security suite bridges Red Hat Advanced Cluster Security for Kubernetes data with advanced AI models.'
2420
type: RHEA
2521
references:
2622
- 'https://github.com/stackrox/stackrox-mcp/blob/main/README.md#quick-start'
23+
- 'https://github.com/stackrox/stackrox-mcp/releases/tag/X.Y.Z'

0 commit comments

Comments
 (0)