@@ -16,11 +16,11 @@ or bumping release versions.
1616 the final version bump:
1717
1818 ``` bash
19- git fetch origin main --tags
20- git show origin/main :plugins/cad/VERSION
19+ git fetch origin dev main --tags
20+ git show origin/dev :plugins/cad/VERSION
2121 ```
2222
23- Rebase or merge ` origin/main ` before bumping release metadata when the base
23+ Rebase or merge the target base before bumping release metadata when the base
2424 branch has advanced. Resolve source files first, regenerate generated
2525 outputs, then run the version bump wrapper.
2626
@@ -51,7 +51,7 @@ or bumping release versions.
5151 scripts/build/build-cad-viewer-skill.sh --check
5252 scripts/build/build-plugin.sh --check
5353 scripts/check/validate-plugins.sh
54- scripts/release/bump -version.sh --check
54+ scripts/check -version.sh
5555 ```
5656
5757 Broaden to ` scripts/build.sh --check ` or ` scripts/test.sh ` when touching
@@ -108,8 +108,8 @@ of truth first, then regenerate rather than manually merging generated blobs.
108108 rebase. Then verify:
109109
110110 ` ` ` bash
111- scripts/release/bump -version.sh --check
112- scripts/release/bump -version.sh --check -incremented-from origin/main
111+ scripts/check -version.sh
112+ scripts/check -version.sh --incremented-from origin/main
113113 ` ` `
114114
1151155. Stage resolved files, finish the rebase or merge, and rerun the relevant
@@ -121,33 +121,30 @@ Release versions are intentionally lockstep across the git tag, plugin
121121manifests, ` plugins/* /VERSION` , package manifests and locks, Python
122122` pyproject.toml` files, generated skill runtimes, plugin package copies, and
123123repo-owned docs. CI checks that all versions match and that the branch version
124- is greater than the target ` main ` commit.
124+ is greater than the target base commit.
125125
126- Use the wrapper, not ad hoc edits :
126+ For development branches, use the wrapper without creating a local tag :
127127
128128` ` ` bash
129129scripts/release/bump-version.sh patch --dry-run
130- scripts/release/bump-version.sh patch
130+ scripts/release/bump-version.sh patch --no-commit
131131` ` `
132132
133- Default behavior for bump commands:
134-
135- - updates every repo-owned version target
136- - creates a commit with the release metadata changes
137- - creates a local release tag named exactly like the version, for example
138- ` 0.1.7`
133+ That updates every repo-owned version target. Commit those edits with the PR
134+ work. CI checks them with ` scripts/check-version.sh` .
139135
140136Useful variants:
141137
142138` ` ` bash
143139scripts/release/bump-version.sh patch --amend
144140scripts/release/bump-version.sh patch --no-commit
145141scripts/release/bump-version.sh --set-version 0.2.0 --no-commit
146- scripts/release/bump -version.sh --check
147- scripts/release/bump -version.sh --check -incremented-from origin/main
142+ scripts/check -version.sh
143+ scripts/check -version.sh --incremented-from origin/main
148144` ` `
149145
150146Use ` --amend` when the version bump belongs in the current commit. Use
151147` --no-commit` when you need to combine the bump with other staged work or when
152- resolving a rebase conflict manually. Push release tags only when the user or
153- release workflow explicitly asks for tags to be published.
148+ resolving a rebase conflict manually. Create and push release tags only from a
149+ materialized release branch when the user or release workflow explicitly asks
150+ for tags to be published.
0 commit comments