release-app
星标17
分支3
更新时间2026年7月3日 04:13
Automate the release process for Caffee app.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Automate the release process for Caffee app.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | release-app |
| description | Automate the release process for Caffee app. |
When the user invokes this skill with an app path:
Extract version from filename
Caffee-v{VERSION}.app (e.g., Caffee-v1.18.0.app)v1.18.0)1.18.0)Verify the app exists
Rename app to Caffee.app
Caffee.app in the same directorycp -R ~/Documents/Caffee-v1.18.0 ~/Documents/Caffee.appCreate DMG
create-dmg Caffee.app . (use the renamed Caffee.app) (use which for get path)Caffee-{VERSION}.dmg (e.g., Caffee-v1.18.0.dmg)Sign the DMG
sign_update Caffee-{VERSION}.dmg (use which for get path)sparkle:edSignature="..."length="..."Get file size and checksum
stat -f%z Caffee-{VERSION}.dmgshasum -a 256 Caffee-{VERSION}.dmgUpdate web/appcast.xml
<item> element at the top of the channel (before existing items)https://github.com/khanhicetea/Caffee/releases/download/{VERSION}/Caffee-{VERSION}.dmgUpdate web/index.html
Update web/download.html
https://github.com/khanhicetea/Caffee/releases/download/{VERSION}/Caffee-{VERSION}.dmgSummary
{VERSION}<item>
<title>Version 1.18.0</title>
<sparkle:version>1</sparkle:version>
<sparkle:shortVersionString>1.18.0</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>13.0</sparkle:minimumSystemVersion>
<pubDate>Thu, 30 Jan 2026 12:00:00 +0700</pubDate>
<enclosure
url="https://github.com/khanhicetea/Caffee/releases/download/v1.18.0/Caffee-v1.18.0.dmg"
sparkle:edSignature="SIGNATURE_HERE"
length="12345678"
type="application/octet-stream"
/>
<description><![CDATA[
<h2>What's New</h2>
<ul>
<li>Release notes here</li>
</ul>
]]></description>
</item>
Download button (around line 64):
<button class="secondary" onclick="location.href='/download.html?v=1.18.0'">
Tải app tại đây (v1.18.0)
</button>
Release notes section (after line 240):
<div>
<h5>v1.18.0</h5>
<ul>
<li>Checksum sha256 (Caffee-v1.18.0.dmg) :
<code>CHECKSUM_HERE</code>
</li>
<li>Release notes here</li>
</ul>
<hr />
</div>
Meta refresh tag (line 9):
<meta
http-equiv="refresh"
content="2; URL=https://github.com/khanhicetea/Caffee/releases/download/v1.18.0/Caffee-v1.18.0.dmg"
/>
Direct download link (line 24):
<a
href="https://github.com/khanhicetea/Caffee/releases/download/v1.18.0/Caffee-v1.18.0.dmg"
>bấm vào đây để tải ngay</a
>