ci: add release script for tag-triggered deployments #115

Merged
cal merged 1 commits from ci/add-release-script into main 2026-03-20 18:27:06 +00:00
Owner

Summary

Adds .scripts/release.sh to complement .scripts/deploy.sh. Creates CalVer tags to trigger CI builds.

Usage

.scripts/release.sh           # auto-generates next version (YYYY.M.BUILD)
.scripts/release.sh 2026.3.11 # explicit version
.scripts/release.sh -y        # auto-generate + skip confirmation

Features

  • Validates you're on main and up to date with origin
  • Auto-generates next CalVer build number from existing tags
  • Shows commits since last tag before confirming
  • Validates version format
  • Prevents duplicate tags
  • Pushes tag to trigger CI → Docker build → Discord notification

Workflow

.scripts/release.sh  →  creates tag  →  CI builds :VERSION + :production  →  .scripts/deploy.sh

🤖 Generated with Claude Code

## Summary Adds `.scripts/release.sh` to complement `.scripts/deploy.sh`. Creates CalVer tags to trigger CI builds. ## Usage ```bash .scripts/release.sh # auto-generates next version (YYYY.M.BUILD) .scripts/release.sh 2026.3.11 # explicit version .scripts/release.sh -y # auto-generate + skip confirmation ``` ## Features - Validates you're on `main` and up to date with origin - Auto-generates next CalVer build number from existing tags - Shows commits since last tag before confirming - Validates version format - Prevents duplicate tags - Pushes tag to trigger CI → Docker build → Discord notification ## Workflow ``` .scripts/release.sh → creates tag → CI builds :VERSION + :production → .scripts/deploy.sh ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
cal added 1 commit 2026-03-20 18:26:36 +00:00
Auto-generates next CalVer tag (YYYY.M.BUILD) or accepts explicit
version. Shows commits since last tag, confirms, then pushes tag
to trigger CI build.

Usage:
  .scripts/release.sh           # auto-generate next version
  .scripts/release.sh 2026.3.11 # explicit version
  .scripts/release.sh -y        # skip confirmation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cal merged commit c30e0ad321 into main 2026-03-20 18:27:06 +00:00
cal deleted branch ci/add-release-script 2026-03-20 18:27:06 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/major-domo-v2#115
No description provided.