File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ excluded-charts: []
1414# Validate maintainers in Chart.yaml
1515validate-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
2121validate-chart-schema : true
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name: Release Charts
33on :
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
713jobs :
814 lint-test :
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
You can’t perform that action at this time.
0 commit comments