본문으로 건너뛰기
cccskills
무료GitHub에 공개

release

Cross-platform release, version bumping, changelog maintenance, and production deployment protocol for md-editor

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor스타 40(GitHub 40 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Multi-Platform Release & Deployment Skill

This skill guides agents through the end-to-end lifecycle for versioning, changelog generation, tagging, CI/CD pipeline monitoring, and production deployment across all client platforms in the md-editor workspace.

1. Operating Principles

  1. Strict Platform Symmetry: Every client platform (desktop, android, web, site, utools, worker) has a clear, isolated release lifecycle and namespace.
  2. Single Source of Truth in Git:
    • NEVER build or upload binaries out-of-band without committing the version bump and changelog to the Git repository.
    • Version files (package.json, build.gradle.kts, tauri.conf.json, Cargo.toml) and CHANGELOG.md (plus CHANGELOG_EN.md) must be updated and committed together.
  3. Changelog-Driven Presentation:
    • The official website (site) and distribution portal read directly from each platform's CHANGELOG.md at build/ISR time.
    • A release is only complete when its user-facing changelog entry is present in both Chinese (CHANGELOG.md) and English (CHANGELOG_EN.md).
  4. Pre-Release Quality Gate:
    • Working tree must be clean.
    • Must be on the latest main branch.
    • pnpm verify (lint + test + typecheck) must pass 100% before any release command is executed.

2. Multi-Platform Release Matrix

Platform / TargetFull Release CommandVersion Bump OnlyGit Tag PatternCI/CD WorkflowVersion Files & ChangelogDistribution Target
Desktop Apppnpm release:desktoppnpm release:desktop:versionv* (e.g. v0.12.1).github/workflows/release-desktop.ymlapps/desktop/package.json<br>src-tauri/tauri.conf.json<br>src-tauri/Cargo.toml<br>apps/desktop/CHANGELOG*.mdCloudflare R2 (/inkpoint/desktop/)<br>Homebrew Tap<br>GitHub Releases
Android Apppnpm release:androidpnpm release:android:versionandroid-v* (e.g. android-v0.2.0).github/workflows/release-mobile.ymlapps/mobile/android/app/build.gradle.kts<br>apps/mobile/android/CHANGELOG*.mdCloudflare R2 (/inkpoint/android/)<br>Distribution Gateway
Web Playgroundpnpm release:webpnpm release:web:version<br>pnpm release:web:publishweb-v* (archival tag only).github/workflows/release-web.ymlapps/web/package.json<br>apps/web/CHANGELOG*.mdVercel Production (editor.justdev.cn/playground)
Official Sitepnpm release:siteN/ATriggered on release or manualVercel CLI Prebuilt DeploySourced from Desktop, Android & Web changelogsVercel Production (editor.justdev.cn & editor.jiaqi.im)
Distribution Workerpnpm deploy:workerN/AManual / Infrastructure deployCloudflare Worker CLIinfra/distribution-workerCloudflare Edge (download.justdev.cn & download.jiaqi.im)
uTools PluginManual Reviewapps/utools/package.jsonutools-v*.github/workflows/release-utools.ymlapps/utools/package.json<br>apps/utools/CHANGELOG*.mduTools Developer Center (manual submission)

3. Platform Release Workflows

3.1 Desktop Release (apps/desktop)

  1. Pre-check: Ensure working tree is clean and pnpm verify passes.
  2. Execute release:
    # Interactive mode (prompts for patch / minor / major / beta / notes)
    pnpm release:desktop
    
    # Or non-interactive CLI:
    pnpm release:desktop patch --notes "修复已知缺陷"
    
  3. What happens automatically:
    • Updates version in apps/desktop/package.json, tauri.conf.json, Cargo.toml.
    • Prepends new version block into apps/desktop/CHANGELOG.md and apps/desktop/CHANGELOG_EN.md.
    • Creates commit chore(release): release vX.Y.Z and annotated tag vX.Y.Z.
    • Pushes tag to origin, triggering .github/workflows/release-desktop.yml.
    • GitHub Actions builds macOS (DMG + updater), Linux (AppImage + DEB), and Windows (Setup EXE).
    • Uploads artifacts to Cloudflare R2, updates version.json, purges CDN cache, and triggers pnpm release:site.

3.2 Android Release (apps/mobile/android)

  1. Pre-check: Ensure working tree is clean and pnpm verify passes.
  2. Execute release:
    # Interactive mode:
    pnpm release:android
    
    # Or non-interactive CLI:
    pnpm release:android patch --notes "优化移动端编辑器体验"
    
  3. What happens automatically:
    • Increments versionCode and updates versionName in apps/mobile/android/app/build.gradle.kts.
    • Prepends new version block into apps/mobile/android/CHANGELOG.md and apps/mobile/android/CHANGELOG_EN.md.
    • Creates commit chore(android): release android-vX.Y.Z and annotated tag android-vX.Y.Z.
    • Pushes tag to origin, triggering .github/workflows/release-mobile.yml.
    • GitHub Actions builds release APK, signs it, and uploads Inkpoint_X.Y.Z.apk to Cloudflare R2.
    • Updates version.json and releases.json, purges CDN cache, and triggers pnpm release:site.

3.3 Web Playground Release (apps/web)

  1. Scheme A - Vercel CLI Direct Deploy (Recommended):
    pnpm release:web
    
    Directly pulls production environment, prebuilds, and deploys to Vercel production without polluting GitHub Releases.
  2. With Version & Changelog Archive:
    pnpm release:web:publish patch --notes "新增 MDX 动态预览支持"
    
    Updates apps/web/package.json, updates apps/web/CHANGELOG*.md, pushes web-v* archival tag, and deploys.

3.4 Official Site Deployment (site)

  1. Deploy Site:
    pnpm release:site
    
  2. Mechanics:
    • Uses Vercel CLI with prebuilt output (pull -> build --prod -> deploy --prebuilt).
    • Reads apps/desktop/CHANGELOG.md, apps/mobile/android/CHANGELOG.md, and apps/web/CHANGELOG.md.
    • /changelog route uses Next.js ISR (export const revalidate = 300) for high-performance edge caching.

3.5 Distribution Worker Deployment (infra/distribution-worker)

  1. Deploy Worker:
    pnpm deploy:worker
    
  2. Deploys updated Cloudflare Worker handling download redirects, device directories, and release API metadata.

4. Post-Release Verification Checklist

After the release workflow runs, verify each checkpoint:

  1. GitHub Actions Workflow:
    gh run list --limit 3
    gh run watch <run_id>
    
    Ensure all matrix jobs (build, package, upload, site deploy) are green.
  2. Distribution Edge API:
    curl -s https://download.jiaqi.im/api/inkpoint/releases | jq '{latestDesktopVersion, latestAndroidVersion}'
    
    Confirm latestDesktopVersion and latestAndroidVersion match the expected versions.
  3. Direct Download Links:
    • Desktop: https://download.jiaqi.im/inkpoint/desktop/macos/latest
    • Android: https://download.jiaqi.im/inkpoint/android/latest
  4. Website Rendering:
    • Home page: check that the download CTA displays the correct version badge.
    • Changelog page (/changelog): verify all platform tabs (Desktop, Android, Web) show the newly released version and notes.

5. Troubleshooting & Rollback SOP

  • Broken Release CI Job:
    1. Inspect failed logs: gh run view --log-failed <run_id>.
    2. If caused by network timeout or temporary R2 token glitch, re-run failed jobs via GitHub CLI or Actions UI.
    3. If code or script error, fix on a fix/<description> branch, land PR to main, and re-trigger release.
  • R2 Edge Cache Stale: Run cache purge manually:
    node scripts/release/purge-download-cache.mjs
    
  • Never delete or rewrite published tags on remote: Always increment with a new patch release (e.g. 0.12.2 or 0.2.1) to preserve immutable download history.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

[OMX] Run an anti-slop cleanup/refactor/deslop workflow

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

analyze

무료

[OMX] Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs grounded cross-file explanation before any changes are proposed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

ask

무료

[OMX] Ask a local external advisor CLI (Claude or Gemini) and capture a reusable artifact

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

autopilot

무료

[OMX] Strict autonomous loop: $deep-interview -> $ralplan -> $ultragoal (+ $team if needed) -> $code-review -> $ultraqa

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

[OMX] Stateful validator-gated research loop with native-hook persistence

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

[OMX] Durable professor-critic research workflow over Codex goal mode without reviving deprecated omx autoresearch

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

wmasfoe의 스킬 모두 보기

이 스킬의 문제 신고