跳到正文
cccskills
免费在 GitHub 公开

release

Release a new version of the DCC system

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

foundryvtt-dcc/dcc星标 44(GitHub 44 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

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

Release Process for DCC System

Execute these steps in order:

1. Merge the PR

  • Identify the PR: use the number the user gave, or the PR for the current branch (gh pr view --json number -q .number). If there is no PR to merge (already on main), confirm with the user before proceeding.
  • Verify it is OPEN and MERGEABLE (gh pr view <N> --json state,mergeable).
  • Squash-merge — the repo's history is one squashed commit per PR, never a merge commit:
    gh pr merge <N> --squash --delete-branch
    git checkout main
    git pull
    
  • Delete the local copy of the branch if one exists (git branch -D <branch>).

2. Update version.txt — always its own commit on main

  • Read current version from version.txt
  • Increment the final number (e.g., 0.66.27 → 0.66.28)
  • Write new version to version.txt
  • Commit: Update version.txt — the commit must contain only the version.txt change, and it happens on main after the PR merges, never inside a feature PR. Squash-merge folds an in-PR bump into the feature commit, and foundry-release-action excludes the bump-carrying commit when generating release notes — the feature then vanishes from its own release notes (this bit #849 in v0.70.35 and #852 in v0.70.37).
  • Push to main

3. Wait for GitHub Actions

  • Poll workflow status until release workflow completes:
    gh run list --limit 5
    
  • The workflow creates a draft release tagged with the version

4. Edit Release Notes

Release notes must be VERY terse. Follow this exact format:

Release v{version}

## Release Notes:
* Brief description of change (Contributor Name)

Look at commits since last release:

gh release view --json tagName -q '.tagName'
git log {previous_tag}..HEAD --oneline

Use gh release edit v{version} --notes-file - to update.

The workflow's auto-generated notes are the raw commit title plus a — @handle. Always rewrite them into the format above: a plain-English description of the user-visible change (no fix:/feat: prefix, no PR number), credited by the contributor's display name, not their handle:

gh api users/<login> -q .name   # e.g. blaze-sanecki → Blaze Sanecki

Fall back to the login if the account has no display name.

Example Release Notes

Release v0.66.27

## Release Notes:
* Fix Active Effects not working for NPC attack/damage bonuses (Tim L. White)
* Add responsive tabs dropdown for actor sheets (Tim L. White)

5. Hand Off the Draft — Do NOT Publish

The release stays a draft. Do not publish or promote it. The maintainer publishes the draft manually. Stop here and tell the maintainer that draft v{version} is ready (with notes), and they will push it out.

Publishing is what fires the downstream release: published workflows (foundry-website-update, update-foundry-manifest-after-release) that push the version to Foundry's registry — that step is the maintainer's call, not yours.

Only run the publish command if the maintainer explicitly tells you to in that session:

# ONLY when explicitly instructed by the maintainer:
gh release edit v{version} --draft=false --latest

Important

  • GitHub Action auto-creates a draft release when version.txt updates on main.
  • Never publish/promote a release (no gh release edit --draft=false, no marking latest) unless the maintainer explicitly tells you to. The default is always: leave the draft for the maintainer to push out.
  • Never manually edit system.json version - it's auto-generated.
  • If action fails, check logs with gh run view.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

pr

免费

Create a pull request for the DCC system. Handles branch verify, i18n translation, checks, E2E gate, simplify, commit, push, create/update PR, review, auto-fix. No version bump — that happens on main at release time.

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

foundryvtt-dcc/dcc442026年10月25日 更新

Sync the vendored dcc-core-lib copy after a lib fix merges upstream, then clean up temporary adapter workarounds. Use after a moonloch/dcc-core-lib PR lands, or when asked to update module/vendor/dcc-core-lib.

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

foundryvtt-dcc/dcc442026年10月25日 更新

查看 foundryvtt-dcc 的全部技能

报告此技能的问题