Skill站外收录 @skilllib/skill-2014279403012829187
github-release
自动化生成 GitHub 版本发布,基于最新标签后的提交记录提取变更内容,按约定式提交规范分类整理为功能更新、缺陷修复和底层改进三类说明,并附带多平台安装包下载链接与完整变更日志,确保版本号同步推送后触发 CI 构建。
开发运维 AI 技能
Skills.MD
# GitHub Release
Create GitHub release with formatted notes from commits since last tag.
**Prereqs**: `gh` authenticated, existing tags in repo
## Workflow
1. **Get commits** since latest tag (run as separate commands):
```bash
# First: get latest tag
git tag --sort=-v:refname | head -1
```
```bash
# Then: get commits since that tag (replace <TAG> with result above)
git log <TAG>..HEAD --pretty=format:"%h %s%n%b---" --no-merges
```
2. **Bump version** if needed:
- Check if version in `decentpaste-app/src-tauri/tauri.conf.json` matches latest tag
- If yes, run `/bump-version` skill first
- If already bumped, continue
3. **Categorize** by conventional commit prefix:
| Prefix | Section |
|--------|---------|
| `feat:` | Features & Improvements |
| `fix:` | Bug Fixes |
| `chore:`, `docs:`, `refactor:`, `perf:`, `style:`, `test:` | Under the Hood |
4. **Generate notes** (omit empty sections):
```markdown
## What's New in vX.X.X
[1-2 sentence summary]
### Features & Improvements
- **Feature** - Description
### Bug Fixes
- **Fix** - Description
### Under the Hood
- **Change** - Description
### Downloads
| Platform | Download |
|----------|----------|
| Windows | `DecentPaste_X.X.X_x64-setup.exe` |
| macOS (Intel) | `DecentPaste_X.X.X_x64.dmg` |
| macOS (Apple Silicon) | `DecentPaste_X.X.X_aarch64.dmg` |
| Linux (Debian/Ubuntu) | `DecentPaste_X.X.X_amd64.deb` |
| Linux (AppImage) | `DecentPaste_X.X.X_amd64.AppImage` |
| Android | `DecentPaste_X.X.X.apk` |
---
**Full Changelog**: https://github.com/decentpaste/decentpaste/compare/<prev-tag>...v<version>
```
5. **Confirm** with user: show version, tag, commit count, notes preview
6. **Commit and push version bump** (CRITICAL - must happen before creating release!):
```bash
git add -A && git commit -m "chore: bump version to X.X.X"
git push
```
⚠️ CI/CD builds from the pushed code. If you create the release before pushing, CI will build the old version!
7. **Create release**:
```bash
gh release create vX.X.X --title "DecentPaste vX.X.X" --notes "$(cat <<'EOF'
<notes>
EOF
)"
```
8. **Done**: Show release URL, CI will automatically build and upload artifacts
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「github-release」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次