update-version

update-version

熱門

Update `AvailableFrom` in a PR to the next Remotion patch version (`main` + `0.0.1`).

6.2萬星標
4755分支
更新於 2026/10/3
要求的譯文尚未完成,目前顯示原始英文。
SKILL.md
唯讀
名稱
update-version
描述

Update `AvailableFrom` in a PR to the next Remotion patch version (`main` + `0.0.1`).

Use this when a PR contains docs changes with <AvailableFrom v="..."> and the value should reflect the next release version.

  1. Get the canonical version from main:
git fetch origin main --quiet
git --no-pager show origin/main:packages/core/src/version.ts

Read VERSION from that file (for example: 4.0.468), then compute the next patch version by incrementing the patch number by 1 (4.0.469).

  1. Find AvailableFrom entries changed in the current PR:
git --no-pager diff origin/main...HEAD -- packages/docs | rg 'AvailableFrom v="'
  1. Update only AvailableFrom values touched by this PR so they match the computed next patch version from step 1.

  2. Do not change unrelated AvailableFrom values outside the PR diff.

  3. Commit and push the update.