本文へ移動
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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 のスキルをすべて見る

このスキルの問題を報告する