astarte-forward-port
Standardized workflow to cascade bug fixes and changes from older release branches to newer release branches and eventually into master.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Standardized workflow to cascade bug fixes and changes from older release branches to newer release branches and eventually into master.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | astarte-forward-port |
| description | Standardized workflow to cascade bug fixes and changes from older release branches to newer release branches and eventually into master. |
This workflow must be followed to ensure that fixes and changes landed in older release-X.Y branches are correctly "forward-ported" (cascaded) to all newer active release branches, and finally into the master branch.
The workflow must also be followed when creating a new release on an older release-X.Y branch, so that the CHANGELOG.md file in newer release branches includes the section of the released version and presents a coherent release history.
release-1.1).release-1.2) and finally master.release-1.1 must be forward-ported to release-1.2. Once merged there, it must be forward-ported from release-1.2 to master (when no release-1.3 or newer version branches exist).When requested to forward port changes from release-X.Y to the next branch in the hierarchy (either release-A.B or master), follow these steps:
Identify the Target Branch:
origin repository (e.g., if you are porting from release-1.1, check if release-1.2 exists).master.Create the Forward-Port Branch:
git checkout origin/release-1.2 or git checkout origin/master).forward-port-release-X.Y-into-<target-branch>.Merge the Changes:
--no-ff flag to explicitly record the merge commit:
git merge --no-ff origin/release-X.YOpen the Pull Request:
gh pr create to open a Pull Request against the Target Branch on the main repository.Forward port release X.Y into <target-branch> (e.g., "Forward port release 1.1 into release 1.2" or "Forward port release 1.2 into master").Continue the Cascade (Iterative Loop):
release-1.2), you MUST repeat steps 1-4 to forward port release-1.2 into the next branch (e.g., release-1.3), and so on, until the changes finally land in master.