Skip to content

Commit 34edf55

Browse files
Merge pull request #358 from salasberryfin/workflows-remove-capi-operator-from-pre-release
remove capi operator from pre-release component version workflow
2 parents a311347 + 739e8ad commit 34edf55

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/pre-release.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
rancher_version:
77
description: 'Rancher version (e.g., v2.11.0)'
88
type: string
9-
cluster_api_operator_version:
10-
description: 'Cluster API Operator version (e.g., v0.18.1)'
11-
type: string
129
cluster_api_version:
1310
description: 'Cluster API version (e.g., v1.9.5)'
1411
type: string
@@ -64,19 +61,6 @@ jobs:
6461
first_rule=false
6562
fi
6663
67-
if [[ -n "${{ inputs.cluster_api_operator_version }}" ]]; then
68-
if [[ "$first_rule" == "false" ]]; then echo "," >> dynamic-config.json; fi
69-
cat >> dynamic-config.json << 'EOF'
70-
{
71-
"name": "Update Cluster API Operator version in prerequisites table",
72-
"pattern": "\\| Cluster API Operator\\s*\\r?\\n\\| `v[0-9]+\\.[0-9]+\\.[0-9]+`",
73-
"replacement": "| Cluster API Operator\n| `%s`",
74-
"version": "${{ inputs.cluster_api_operator_version }}"
75-
}
76-
EOF
77-
first_rule=false
78-
fi
79-
8064
if [[ -n "${{ inputs.cluster_api_version }}" ]]; then
8165
if [[ "$first_rule" == "false" ]]; then echo "," >> dynamic-config.json; fi
8266
cat >> dynamic-config.json << 'EOF'
@@ -177,7 +161,6 @@ jobs:
177161
# Create a descriptive commit message
178162
commit_msg="Update component versions in docs/next"
179163
if [[ -n "${{ inputs.rancher_version }}" ]]; then commit_msg+="\n- Rancher: ${{ inputs.rancher_version }}"; fi
180-
if [[ -n "${{ inputs.cluster_api_operator_version }}" ]]; then commit_msg+="\n- Cluster API Operator: ${{ inputs.cluster_api_operator_version }}"; fi
181164
if [[ -n "${{ inputs.cluster_api_version }}" ]]; then commit_msg+="\n- Cluster API: ${{ inputs.cluster_api_version }}"; fi
182165
if [[ -n "${{ inputs.cluster_api_provider_rke2_version }}" ]]; then commit_msg+="\n- Cluster API Provider RKE2: ${{ inputs.cluster_api_provider_rke2_version }}"; fi
183166
if [[ -n "${{ inputs.cert_manager_version }}" ]]; then commit_msg+="\n- Cert-manager: ${{ inputs.cert_manager_version }}"; fi

0 commit comments

Comments
 (0)