From b6002c6e0edc3a1a717aa630d7efe43dddce0872 Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Thu, 3 Jul 2025 17:09:04 +0000 Subject: [PATCH] scripts: add manual confirmation for release calendar update Add a confirmation dialog to the release script that prompts the user to manually update the release calendar documentation before proceeding with the release. This ensures the release schedule documentation stays up-to-date with each release. The script now: - Prompts user to update the release calendar documentation - Provides the URL to the documentation - Suggests running the update-release-calendar.sh script - Requires confirmation before proceeding with the release Co-authored-by: bpmct <22407953+bpmct@users.noreply.github.com> --- scripts/release.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scripts/release.sh b/scripts/release.sh index 6f11705c305f4..8282863a62620 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -308,6 +308,21 @@ if [[ ${preview} =~ ^[Yy]$ ]]; then fi log +# Prompt user to manually update the release calendar documentation +log "IMPORTANT: Please manually update the release calendar documentation before proceeding." +log "The release calendar is located at: https://coder.com/docs/install/releases#release-schedule" +log "You can also run the update script: ./scripts/update-release-calendar.sh" +log +while [[ ! ${calendar_updated:-} =~ ^[YyNn]$ ]]; do + read -p "Have you updated the release calendar documentation? (y/n) " -n 1 -r calendar_updated + log +done +if ! [[ ${calendar_updated} =~ ^[Yy]$ ]]; then + log "Please update the release calendar documentation before proceeding with the release." + exit 0 +fi +log + while [[ ! ${create:-} =~ ^[YyNn]$ ]]; do read -p "Create, build and publish release? (y/n) " -n 1 -r create log
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: