File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -133,15 +133,19 @@ jobs:
133
133
- name : Create release
134
134
run : |
135
135
echo "Creating Helm chart release..."
136
- # Create a temporary .cz.toml without gpg_sign for CI
137
- cp .cz.toml .cz.toml.bak
138
- sed -i '/gpg_sign = true/d' .cz.toml
139
- cz bump --increment "${{ github.event.inputs.chart_increment }}"
136
+ # Create a CI-specific config without gpg_sign
137
+ cp .cz.toml .cz.ci.toml
138
+ sed -i '/gpg_sign = true/d' .cz.ci.toml
139
+
140
+ # Run bump with CI config and --yes flag for non-interactive mode
141
+ CZ_CONFIG_FILE=.cz.ci.toml cz bump --increment "${{ github.event.inputs.chart_increment }}" --yes
142
+
140
143
# Capture the new version tag
141
144
NEW_TAG=$(git describe --tags --abbrev=0)
142
145
echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV
143
- # Restore original .cz.toml
144
- mv .cz.toml.bak .cz.toml
146
+
147
+ # Clean up CI config file
148
+ rm .cz.ci.toml
145
149
146
150
- name : Push changes and tags
147
151
run : |
You can’t perform that action at this time.
0 commit comments