update-version

โดย remotion-dev

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

npx skills add https://github.com/remotion-dev/remotion --skill update-version

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.

Skills เพิ่มเติมจาก remotion-dev

pr-name
remotion-dev
การตั้งชื่อที่ถูกต้องสำหรับ PR
official
pr-ready
remotion-dev
แก้ไข CI ที่ล้มเหลว, แก้ไขความขัดแย้งในการรวมโค้ด, หรือการเปลี่ยนแปลงในสาขาท้องถิ่นเพื่อเตรียม PR ให้พร้อม
official
release
remotion-dev
ปล่อยเวอร์ชัน Remotion ใหม่
official
remotion-captions
remotion-dev
การจัดการกับคำบรรยายใน Remotion
official
remotion-create
remotion-dev
กำลังสร้างวิดีโอ Remotion ใหม่
official
video-report
remotion-dev
สร้างรายงานเกี่ยวกับวิดีโอ
official
add-bug
remotion-dev
เพิ่มรายการบั๊ก Remotion ใหม่ไปยัง packages/bugs/api/[v].ts ใช้เมื่อผู้ใช้อธิบายบั๊กและเวอร์ชัน Remotion ที่ได้รับผลกระทบซึ่งควรแสดงผ่านทาง…
official
add-cli-option
remotion-dev
เพิ่มตัวเลือก CLI หรือการกำหนดค่า Remotion ใหม่ โดยการสร้าง AnyRemotionOption, ลงทะเบียนการแยกวิเคราะห์ CLI, เชื่อมต่อตัวตั้งค่าการกำหนดค่า และอัปเดตเอกสาร ใช้เมื่อ...
official