跳到正文
cccskills
免费在 GitHub 公开

release

Tag a new release, push, and publish on GitHub

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Release

Create a new versioned release for Quill.

Steps

  1. Ask the user for the version number (e.g. 0.3.0) if not provided as an argument.

  2. Bump version in all three files. IMPORTANT: Do NOT use sed for version bumps. Instead:

    • Confirm you're on main and the working tree is clean (git status). If not, stop and report.
    • Read each file first with the Read tool to confirm the current version string.
    • Use the Edit tool to replace the version in package.json, src-tauri/tauri.conf.json, and src-tauri/Cargo.toml.
    • After editing, verify all three files show the correct new version.
    • Run cargo check in src-tauri/ to update Cargo.lock.
    • Run npm install --package-lock-only --ignore-scripts to update the root version in package-lock.json.
    • Check if public/foliate-js submodule has changes. If so, commit and push the submodule, then stage the updated reference.
    • Stage everything and commit with message chore: bump version to v{version}.
  3. Push the version bump commit directly to main: git push

  4. Tag: git tag -a v{version} -m "v{version}"

  5. Push the tag: git push origin v{version}

  6. Wait for the release workflow to complete: gh run list --workflow=release.yml --limit 1 --json status,conclusion,databaseId

  7. Once the workflow succeeds, draft a release message by reviewing commits since the last tag: git log $(git describe --tags --abbrev=0 HEAD^)..HEAD --oneline

  8. Categorize changes into sections: What's New, Improvements, Bug Fixes (omit empty sections).

  9. Publish the release: gh release edit v{version} --draft=false --notes "...". Include a Download section at the bottom with the .dmg filenames for Apple Silicon and Intel.

If any step fails, stop and report the error — do not continue.

Notarization Commands

  • Check notarization history:

    xcrun notarytool history --apple-id "$APPLE_ID" --password "$APPLE_PASSWORD" --team-id "$APPLE_TEAM_ID"
    
  • Check a specific submission:

    xcrun notarytool info <submission-id> --apple-id "$APPLE_ID" --password "$APPLE_PASSWORD" --team-id "$APPLE_TEAM_ID"
    
  • Verify stapling on a DMG or .app:

    stapler validate <file>
    
  • Check code signing:

    codesign -dvv <path-to-app>
    

Note: Apple credentials are in ~/.zshrc. The shell may not have them loaded — use literal values if env vars are empty.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

bug

免费

Report, list, or manage bug reports as GitHub issues

中文简介正在准备中。当前显示原文说明。

yicheng47/quill352026年9月2日 更新

feature

免费

Create, list, or manage feature specs and GitHub issues

中文简介正在准备中。当前显示原文说明。

yicheng47/quill352026年9月2日 更新

ship

免费

Commit, create PR, wait for CI, and merge

中文简介正在准备中。当前显示原文说明。

yicheng47/quill352026年9月2日 更新

查看 yicheng47 的全部技能

报告此技能的问题