File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -158,10 +158,10 @@ if [[ $CLIENT_VERSION != *"snapshot"* ]]; then
158
158
master_release_notes=$( sed -n " /$section /,/###/{/###/!p}" $output | sed -n " {/^$/!p}" | sed ' :a;N;$!ba;s/\n/\\n/g' )
159
159
util::changelog::write_changelog v$CLIENT_VERSION " $section " " $master_release_notes "
160
160
done
161
- git add .
161
+ git add . # Allows us to check if there are any staged release note changes
162
162
if ! git diff-index --quiet --cached HEAD; then
163
163
util::changelog::update_release_api_version $CLIENT_VERSION $CLIENT_VERSION $new_k8s_api_version
164
- git add .
164
+ git add . # Include the API version update before we commit
165
165
git commit -m " update changelog with release notes from master branch"
166
166
fi
167
167
fi
You can’t perform that action at this time.
0 commit comments