deploy-release
Skill8 starsChanged 40 days agoMITView on GitHub
Automates the complete Azdroid release and deployment lifecycle when the user requests "thực hiện deploy", "deploy", "release", "build release", or "phát hành". Executes the canonical ./scripts/deploy.sh pipeline, enforcing version bumping, release notes drafting, README link updates (anti-404 rule), quality verification, packaging, and GitHub publishing.
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- zhihong1469/plumb-linktheir own version, first seen Jun 16, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- zhihong1469/plumb-link★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
After macOS initiates a release tag, complete the Windows build on a Windows machine:
- Distinctive: line 86
After the deployment script completes, AI assistants can verify the live release:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Azdroid Release & Deployment Runbook
This skill automates the complete 7-step release and deployment pipeline for Azdroid.
⚡️ Primary Command for AI Assistants
Whenever a user requests to deploy or publish a release (e.g., "thực hiện deploy", "deploy", "release", "phát hành"):
- Inspect recent commits to determine semantic version bump (
patch,minor, ormajor):git log --oneline $(git describe --tags --abbrev=0 2>/dev/null || echo "")..HEAD- patch: Bug fixes, minor documentation updates.
- minor: New features, new tools, performance enhancements.
- major: Breaking architectural changes, protocol rewrites.
- Execute the Canonical Deployment Script (macOS):
./scripts/deploy.sh <patch|minor|major>- For preview/test runs without pushing to GitHub:
./scripts/deploy.sh <patch|minor|major> --dry-run - For building and committing locally without remote push:
./scripts/deploy.sh <patch|minor|major> --no-push
- For preview/test runs without pushing to GitHub:
- Execute the Canonical Deployment Pipeline (Windows PC):
After macOS initiates a release tag, complete the Windows build on a Windows machine:
powershell -ExecutionPolicy Bypass -File scripts\deploy.ps1- For dry-run:
powershell -ExecutionPolicy Bypass -File scripts\deploy.ps1 -DryRun - With sandbox verification:
powershell -ExecutionPolicy Bypass -File scripts\deploy.ps1 -TestSandbox
- For dry-run:
🛡️ Mandatory Rules & Invariants (Enforced by Pipeline)
- Version Alignment Invariant:
- Both
pubspec.yaml(version: X.Y.Z+N) andlib/core/constants/app_constants.dart(static const String appVersion = 'X.Y.Z';) must be updated in tandem. - Verified by
flutter test test/unit/app_version_test.dart.
- Both
- Anti-404 Windows Badge Rule:
- On
README.md, if the new release is macOS-only, the Windows download badge must remain pinned to the latest release tag that actually contains a Windows binary (.../releases/download/v<pinned>/Azdroid-v<pinned>-Windows-x64.zip). - NEVER link Windows to
/releases/latest/download/...when the latest release lacks a Windows asset (GitHub will return HTTP 404).
- On
- Zero Claims Without Code:
- Release notes in
docs/releases/v<version>.mdmust only document verified features present in code. Never state unverified tool counts, latency numbers, or unreleased platforms.
- Release notes in
- Zero-Warning Quality Gate:
- The pipeline strictly runs
dart format .,flutter analyze(must return "No issues found!"), andflutter test(100% pass) before committing or packaging.
- The pipeline strictly runs
📋 The 7-Step Pipeline (Under the Hood)
The ./scripts/deploy.sh script automates these stages sequentially:
| Step | Phase | Key Actions |
| 1 | Pre-flight Checks | Verifies toolchain (flutter, dart, git, gh, ditto, curl), ensures branch main and clean git working tree. |
| 2 | Version Synchronization | Computes semantic version and build number (+1), updates pubspec.yaml and app_constants.dart, verifies with unit test. |
| 3 | Release Notes | Generates docs/releases/v<version>.md structured into New, Improved, Fixed, Known Limitations, and Checksum. |
| 4 | README & Docs Sync | Updates macOS download badge and install command to v<version>, updates docs/platform-support.md date. |
| 5 | Quality Gate | Formats Dart code, executes flutter analyze (zero issues), and runs all tests (flutter test). |
| 6 | Source Commit | Commits all prepared source files with chore(release): prepare v<version>. |
| 7 | Packaging & GitHub Release | Calls scripts/build_release.sh, smoke tests bundled adb and azdroid-mcp, packs ZIPs, commits RELEASE/, pushes to main, and creates GitHub Release via gh release create. |
🔍 Post-Deployment Verification
After the deployment script completes, AI assistants can verify the live release:
# 1. Verify GitHub Release asset availability
gh release view v<version> --json assets,url --jq '.url, .assets[].name'
# 2. Verify download URLs return HTTP 200 (no 404)
curl -sIL https://github.com/az-coder-123/azdroid/releases/latest/download/Azdroid-v<version>-macOS.zip | grep -i '^http'
# 3. Verify clean git state
git statusDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

