slash-do 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,9 +33,10 @@ Print the detected workflow: `Detected release flow: {source} → {target}`
33
33
  ## Pre-Release Checks
34
34
 
35
35
  1. **Ensure you're on the source branch** — checkout if needed
36
- 2. **Pull latest** — `git pull --rebase --autostash`
37
- 3. **Run tests** — execute the project's test suite (per project conventions already in context, or check package.json)
38
- 4. **Run build** — execute the project's build command if one exists
36
+ 2. **Pull latest source** — `git pull --rebase --autostash`
37
+ 3. **Pull latest target** — `git fetch origin {target} && (git show-ref --verify --quiet refs/heads/{target} && git checkout {target} || git checkout -b {target} --track origin/{target}) && git pull --rebase --autostash origin {target} && git checkout {source}` — this ensures the local target branch matches `origin/{target}` before any diff or PR creation, even on a fresh clone where the target branch may only exist on the remote. Without this, the diff may be stale or include already-released changes.
38
+ 4. **Run tests** — execute the project's test suite (per project conventions already in context, or check package.json)
39
+ 5. **Run build** — execute the project's build command if one exists
39
40
 
40
41
  ## Determine Version and Finalize Changelog
41
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slash-do",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "Curated slash commands for AI coding assistants — Claude Code, OpenCode, Gemini CLI, and Codex",
5
5
  "author": "Adam Eivy <adam@eivy.com>",
6
6
  "license": "MIT",