Skip to content

Commit d8df3df

Browse files
committed
docs: update macos release skill workflow
1 parent cd50d74 commit d8df3df

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • .agents/skills/macos-release-loopndroll

.agents/skills/macos-release-loopndroll/SKILL.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ Before releasing, verify:
3232
## Standard workflow
3333

3434
1. Read `package.json` and confirm the current version.
35-
2. If the user asked for a version bump, edit only `package.json` first. If the user asked to release without specifying a version, bump the patch version in `package.json` by `+0.0.1` first.
36-
3. Commit and push the version bump before releasing.
37-
4. Ensure the working tree is clean because `scripts/release-macos.sh` refuses dirty releases unless `ALLOW_DIRTY_RELEASE=true`.
38-
5. Run:
35+
2. If the working tree has uncommitted changes, commit and push those changes before changing the version or starting the release. If those changes are not intended for release, stop and confirm with the user instead of releasing them accidentally.
36+
3. If the user asked for a version bump, edit only `package.json` first. If the user asked to release without specifying a version, bump the patch version in `package.json` by `+0.0.1` first.
37+
4. Commit and push the version bump before releasing.
38+
5. Ensure the working tree is clean because `scripts/release-macos.sh` refuses dirty releases unless `ALLOW_DIRTY_RELEASE=true`.
39+
6. Run:
3940

4041
```bash
4142
bash scripts/release-macos.sh v<version>
@@ -67,6 +68,7 @@ Do not re-implement this unless the script is broken. `scripts/release-macos.sh`
6768
## Operational guidance
6869

6970
- Prefer releasing before making unrelated repo edits. The script expects a clean tree.
71+
- If there are uncommitted changes in the repo, commit and push them before the version bump and release. Do not ship unreviewed local work by accident; if the changes should not be part of the release, stop and ask the user.
7072
- If the user does not specify a version, default to the next patch release by bumping `package.json` from the current version to `+0.0.1` before running the release.
7173
- If you need to add repo changes such as documentation or a skill, do that after the release and commit them separately.
7274
- If the release already exists for the requested tag, the script will upload the fresh artifacts with `--clobber`.

0 commit comments

Comments
 (0)