Skills.MD
# Vorta Release Workflow
Guide the user through all release steps interactively. Confirm before each destructive operation.
## Phase 1: Pre-checks
Before starting, verify the repository is ready:
```bash
git status # Must be clean, on master branch
```
If there are uncommitted changes, stop and ask the user to resolve them first.
## Phase 2: Version Bump
### 2.1 Get the new version number
Ask the user for the new version number (e.g., `0.12.0`). Verify it follows semver format.
### 2.2 Update version file
Edit `src/vorta/_version.py`:
```python
__version__ = "X.Y.Z" # New version
```
### 2.3 Update translations
```bash
op run -- make translations-update
```
### 2.4 Update metadata and create commit + tag
This uses `make bump-version` which:
- Updates `src/vorta/assets/metadata/com.borgbase.Vorta.appdata.xml` with version and date
- Creates commit: "Bump version to vX.Y.Z"
- Creates annotated tag: vX.Y.Z
```bash
make bump-version
```
The tag message should include a brief summary. Prompt the user for input.
## Phase 3: Push to Upstream
```bash
git push upstream master
git push upstream vX.Y.Z
```
## Phase 4: Wait for CI
Monitor the test workflow:
```bash
gh run list --workflow=test.yml --limit=1
gh run watch
```
Wait for tests to pass before proceeding. If tests fail, stop and notify the user.
## Phase 5: Create GitHub Release
### 5.1 Generate changelog
```bash
make changelog
```
Format the output as a bullet list for release notes.
### 5.2 Create draft release
```bash
gh release create vX.Y.Z --draft --title "vX.Y.Z" --notes "CHANGELOG_HERE"
```
Show the user the draft URL for review.
## Phase 6: PyPi Release
```bash
op run -- make pypi-release
```
This builds the sdist and uploads to PyPi via twine.
## Phase 7: macOS Builds
### 7.1 Trigger both architecture builds
Default Borg version: 1.4.3 (ask user if they want different)
```bash
# ARM build (Apple Silicon)
gh workflow run build-macos.yml -f branch=master -f macos_version=macos-14 -f borg_version=1.4.3
# Intel build
gh workflow run build-macos.yml -f branch=master -f macos_version=macos-15-intel -f borg_version=1.4.3
```
### 7.2 Wait for builds to complete
```bash
# List recent workflow runs to get run IDs
gh run list --workflow=build-macos.yml --limit=2
# Watch both runs (run these commands and wait)
gh run watch <arm-run-id>
gh run watch <intel-run-id>
```
### 7.3 Download artifacts
```bash
gh run download <arm-run-id> -D ./release-artifacts
gh run download <intel-run-id> -D ./release-artifacts
```
### 7.4 Upload to GitHub release
```bash
gh release upload vX.Y.Z ./release-artifacts/Vorta-v*-arm.dmg ./release-artifacts/Vorta-v*-intel.dmg
```
### 7.5 Cleanup
```bash
rm -rf ./release-artifacts
```
## Phase 8: Publish Release
After verifying the release looks correct:
```bash
gh release edit vX.Y.Z --draft=false
```
Provide the release URL to the user.
## Phase 9: Update GitHub Pages (Appcast)
Update the Sparkle appcast for macOS auto-updates:
```bash
make update-appcast
```
## Completion
Summarize what was done:
- Version bumped to vX.Y.Z
- Tag pushed to upstream
- GitHub release published: [link]
- PyPi package uploaded
- macOS DMGs (ARM + Intel) attached to release
- Appcast updated for auto-updates
评论 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
举报「release」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次