mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-31 19:22:19 +01:00
feat: added guard for release notes (#546)
Release process now includes validation to confirm that release notes are present before deployment can proceed; if release notes are missing, the release process will terminate with an error message Release workflow now requires an interactive confirmation step during the release process; explicit user approval is mandatory before any release actions commence
This commit is contained in:
@@ -633,6 +633,10 @@ log_sha "VERSION (current)" "${VERSION}"
|
||||
log_sha "VERSION (release)" "v${BUMP_VERSION}"
|
||||
log_sha "RUN_KEY (saved)" "${RUN_KEY}"
|
||||
|
||||
if ! extract_release_notes_from_changelog "v${BUMP_VERSION}" "${WORKING_DIR}/CHANGELOG.md" >/dev/null; then
|
||||
die "CHANGELOG.md does not contain release notes for version 'v${BUMP_VERSION}'."
|
||||
fi
|
||||
|
||||
read -rp "Releasing version: '${BUMP_VERSION}', please confirm? [y/N] " answer
|
||||
|
||||
# Default 'N', cancel, if not 'y' or 'Y'
|
||||
|
||||
Reference in New Issue
Block a user