deploy-release
Create and publish releases via release-please or manual GitHub releases. Use when cutting a release, tagging a version, or setting up release-please config.
What this skill does
# Release Creation Command
Create GitHub releases using release-please automation or manual release workflows for containerized applications.
## When to Use This Skill
| Use this skill when... | Use `deploy-handoff` instead when... |
|---|---|
| Cutting a new release from `main` and tagging a version | Documenting an already-deployed service for another developer or client |
| Setting up or auditing release-please automation and manifests | Generating access URLs, monitoring links, and onboarding checklists for a deployed resource |
| Publishing a manual GitHub release, draft, or pre-release | Producing handoff prose for a ticket rather than cutting a version |
| Driving the version-tag side of a containerized release pipeline | Building or hardening container images themselves (use `container-development`) |
## Context
- Git remotes: !`git remote -v`
- Branch: !`git branch --show-current`
- Recent tags: !`git tag --sort=-v:refname -l 'v*' --format='%(refname:short)' -n5`
- Last release commit: !`git log --oneline --max-count=5`
- Release config: !`find . -maxdepth 1 -name 'release-please-config.json'`
- Manifest: !`find . -maxdepth 1 -name '.release-please-manifest.json'`
- Changelog: !`find . -maxdepth 1 -name 'CHANGELOG.md'`
## Parameters
Parse from `$ARGUMENTS`:
- `$1` (VERSION): Semantic version string (e.g., `1.2.0`, `v2.0.0-rc.1`)
- `--draft`: Create release as draft (not published)
- `--prerelease`: Mark as pre-release
## Execution
Execute this release workflow:
### Step 1: Determine release strategy
Check whether the project uses release-please or manual releases:
1. If `release-please-config.json` exists, use the **release-please workflow**
2. If no release-please config exists, use the **manual release workflow**
### Step 2a: Release-please workflow
If release-please is configured:
1. Verify conventional commits exist since last release tag
2. Check for an open release PR: `gh pr list --label "autorelease: pending" --json number,title,url`
3. If a release PR exists, report its status and URL
4. If no release PR exists, explain that release-please creates PRs automatically from conventional commits
5. Provide guidance on merging the release PR to trigger the release
### Step 2b: Manual release workflow
If no release-please config:
1. Validate the VERSION argument follows semver format
2. Check that the working tree is clean: `git status --porcelain`
3. Confirm the branch is main or master
4. Create the release with:
```
gh release create v<VERSION> --title "v<VERSION>" --generate-notes
```
5. Add `--draft` flag if `--draft` was passed
6. Add `--prerelease` flag if `--prerelease` was passed
### Step 3: Set up release-please (if requested)
If the user asks to set up release-please automation:
1. Create `release-please-config.json` with manifest release type:
```json
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "simple",
"packages": {
".": {
"component": "<project-name>",
"extra-files": [
{"type": "json", "path": "package.json", "jsonpath": "$.version"}
],
"changelog-sections": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "perf", "section": "Performance"},
{"type": "refactor", "section": "Code Refactoring"},
{"type": "docs", "section": "Documentation"}
]
}
}
}
```
2. Create `.release-please-manifest.json` with current version:
```json
{
".": "0.0.0"
}
```
3. Recommend adding the release-please GitHub Action workflow
### Step 4: Report results
Print a summary including:
- Release version and URL (if created)
- Release PR status (if release-please)
- Next steps for the user
## Release-Please GitHub Action
Recommended workflow for automation:
```yaml
name: Release
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
```
## Agentic Optimizations
| Context | Command |
|---------|---------|
| List recent tags | `git tag --sort=-v:refname -l 'v*' -n5` |
| Check release PRs | `gh pr list --label "autorelease: pending" --json number,title,url` |
| Latest release | `gh release view --json tagName,publishedAt,url` |
| Create release | `gh release create v1.0.0 --generate-notes` |
| Create draft | `gh release create v1.0.0 --draft --generate-notes` |
| Create prerelease | `gh release create v1.0.0-rc.1 --prerelease --generate-notes` |
| List all releases | `gh release list --json tagName,isLatest,isDraft,isPrerelease` |
| Commits since tag | `git log v1.0.0..HEAD --oneline` |
## Quick Reference
| Flag | Description |
|------|-------------|
| `--draft` | Create as draft release (not visible publicly) |
| `--prerelease` | Mark as pre-release version |
| `--generate-notes` | Auto-generate release notes from commits |
| `--notes-file FILE` | Use file contents as release notes |
| `--target BRANCH` | Target branch for the release tag |
## Related Skills
- `deploy-handoff` - Generate deployment handoff documentation
- `container-development` - Container image construction and optimization
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.