Skip to content

fix: add manual confirmation for release calendar update #18748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading