We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fb04c0 commit 0296039Copy full SHA for 0296039
1 file changed
scripts/release.sh
@@ -158,10 +158,10 @@ if [[ $CLIENT_VERSION != *"snapshot"* ]]; then
158
master_release_notes=$(sed -n "/$section/,/###/{/###/!p}" $output | sed -n "{/^$/!p}" | sed ':a;N;$!ba;s/\n/\\n/g')
159
util::changelog::write_changelog v$CLIENT_VERSION "$section" "$master_release_notes"
160
done
161
- git add .
+ git add . # Allows us to check if there are any staged release note changes
162
if ! git diff-index --quiet --cached HEAD; then
163
util::changelog::update_release_api_version $CLIENT_VERSION $CLIENT_VERSION $new_k8s_api_version
164
+ git add . # Include the API version update before we commit
165
git commit -m "update changelog with release notes from master branch"
166
fi
167
0 commit comments