release

此 Skill 旨在提供一个标准化的发布流程。它通过脚本自动处理繁琐的操作,并利用 AI 总结用户可感知的改动。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "release" with this command: npx skills add justlookatnow/pt_mate/justlookatnow-pt-mate-release

Release Skill

此 Skill 旨在提供一个标准化的发布流程。它通过脚本自动处理繁琐的操作,并利用 AI 总结用户可感知的改动。

目录结构

  • scripts/bump_version.py : 自动更新 pubspec.yaml 版本号。

  • scripts/get_commits.py : 提取自上次发布以来的 Git 提交记录。

  • scripts/format_release.py : 格式化发布日志模板。

使用流程

准备阶段

  • 检查当前分支是否为发布分支(通常是 master/main)。

  • 确认工作区是干净的(没有未提交的改动)。

版本号更新

  • 运行 python3 scripts/bump_version.py 或者带上目标版本 python3 scripts/bump_version.py 2.20.2-beta 。

  • 如果用户提供了版本号,则使用用户指定的版本号,并且自动保留并增加构建号(例如从 +513 变为 +514 )。

  • 如果未提供版本号,脚本会自动在当前版本号的基础上增加一个小版本号(patch),并同样增加构建号,且保留原有的 -beta 等预发布后缀。

生成发布日志

  • 运行 python3 scripts/get_commits.py 获取原始提交记录。

  • 将记录提供给 AI,根据 scripts/format_release.py 的定义,总结出用户可感知的改动。

  • 改动分类应包括:🎉Highlights、✨新增功能、🐛修复问题、🔧性能优化、📋其它。架构优化和技术细节无需列入用户日志。

  • **非常重要:**如果某个分类下没有相关改动,必须直接省略该分类,绝对不要写“暂无”或“无”。

  • **非常重要:**生成的发布日志必须经过用户确认后,再进行 Commit 操作。

提交与标注

  • 注意:在 Git 提交信息和打标签时,版本号必须省略 + 及其后面的构建号(例如:版本号 2.19.4+510 对应 2.19.4 ,版本号 2.20.2-beta+514 对应 2.20.2-beta )。pubspec.yaml 中则保留完整版本号。

  • 提交改动:# release: {基础版本号}\n\n{发布日志内容} 。

  • 打标签:v{基础版本号} 。

推送

  • 将代码和标签推送到远程仓库:git push origin {branch} --tags 。

注意事项

  • 提交消息必须使用真实的换行,而不是 \n 字符串。

  • 确认发布日志内容后,再进行 Commit 操作。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

add site

No summary provided by upstream source.

Repository SourceNeeds Review
General

Daily Stoic

Send daily Stoic philosophy quotes from "The Daily Stoic" by Ryan Holiday. Use when setting up daily wisdom reminders via email or Telegram, or when a user wants stoic quotes for a specific date. Supports all 366 days with title, quote, and reflection.

Registry SourceRecently Updated
1.9K1Profile unavailable
General

Quodd Stock Quotes

Fetch real-time stock quotes via Quodd API. Get current prices, daily high/low, and after-hours data for US equities. Use when the user asks for stock prices, quotes, market data, or ticker information.

Registry SourceRecently Updated
2.1K1Profile unavailable
General

Meeting Notes

Extract and organize investor questions and project team answers from meeting transcripts into structured, time-sequenced notes with clear, minimal topic tit...

Registry SourceRecently Updated
4840Profile unavailable