Skip to content

Commit 9075b9c

Browse files
committed
fix(helm): PR_BYPASS release process post merge
1 parent 6e9e354 commit 9075b9c

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

.ct.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ excluded-charts: []
1414
# Validate maintainers in Chart.yaml
1515
validate-maintainers: true
1616

17-
# Enable chart version checking
18-
check-version-increment: true
17+
# Disable chart version checking (handled by automated release process)
18+
check-version-increment: false
1919

2020
# Enable linting of Chart.yaml schema
2121
validate-chart-schema: true

.github/workflows/release-chart.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Release Charts
33
on:
44
release:
55
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
version:
9+
description: 'Chart version to release (e.g., 0.1.1) and needs to be a valid Proxy release.'
10+
required: true
11+
type: string
612

713
jobs:
814
lint-test:
@@ -28,9 +34,16 @@ jobs:
2834
2935
- name: Update chart version
3036
run: |
31-
# Extract version from release tag (remove 'v' prefix if present)
32-
RELEASE_VERSION="${{ github.event.release.tag_name }}"
33-
CHART_VERSION="${RELEASE_VERSION#v}"
37+
# Determine version source: manual input or release tag
38+
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
39+
CHART_VERSION="${{ github.event.inputs.version }}"
40+
else
41+
# Extract version from release tag (remove 'v' prefix if present)
42+
RELEASE_VERSION="${{ github.event.release.tag_name }}"
43+
CHART_VERSION="${RELEASE_VERSION#v}"
44+
fi
45+
46+
echo "Using chart version: ${CHART_VERSION}"
3447
3548
# Update the chart version in Chart.yaml
3649
sed -i "s/^version: .*/version: ${CHART_VERSION}/" charts/cipherstash-proxy/Chart.yaml

0 commit comments

Comments
 (0)