We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent323559b commitd5595f8Copy full SHA for d5595f8
scripts/release/check_commit_metadata.sh
@@ -143,7 +143,12 @@ main() {
143
forcommitin"${renamed_cherry_pick_commits_pending[@]}";do
144
log"Checking if pending commit${commit} has a corresponding cherry-pick..."
145
if [[! -v renamed_cherry_pick_commits[${commit}] ]];then
146
-error"Invariant failed, cherry-picked commit${commit} has no corresponding original commit"
+if [[${CODER_IGNORE_MISSING_COMMIT_METADATA:-0}== 1 ]];then
147
+log"WARNING: Missing original commit for cherry-picked commit${commit}, but continuing due to CODER_IGNORE_MISSING_COMMIT_METADATA being set."
148
+continue
149
+else
150
+error"Invariant failed, cherry-picked commit${commit} has no corresponding original commit"
151
+fi
152
fi
153
log"Found matching cherry-pick commit${commit} ->${renamed_cherry_pick_commits[${commit}]}"
154
done