carson 2.16.0 → 2.16.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.
- checksums.yaml +4 -4
- data/RELEASE.md +10 -0
- data/VERSION +1 -1
- data/lib/carson/runtime/local.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1489c32c54a8efbec17c73bc909ab85070f74946c610f24367e9df3efba32323
|
|
4
|
+
data.tar.gz: 1158faec2bdaa9e3bf8d3efc8dcdeace7cbe80507b864513f89e4bc335e89065
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13a4e277f985f23f18651c1b697f5293b66cd2bbb335d76ad8d28ec0b0a4c87bf50fdbdcc09e8b23cd717ade089ba060de557646f21850465c2866b25d90b798
|
|
7
|
+
data.tar.gz: 0460adf85975e4ead6b8ab3a2f86aafe630589542274cd175204b118d368c646efbd98725090e6f89cd4b4e904d63d2be9256276b9da0372e7b5b39561a8b216
|
data/RELEASE.md
CHANGED
|
@@ -5,6 +5,16 @@ Release-note scope rule:
|
|
|
5
5
|
- `RELEASE.md` records only version deltas, breaking changes, and migration actions.
|
|
6
6
|
- Operational usage guides live in `MANUAL.md` and `API.md`.
|
|
7
7
|
|
|
8
|
+
## 2.16.1 — Template Propagation Cleanup Fix
|
|
9
|
+
|
|
10
|
+
### What changed
|
|
11
|
+
|
|
12
|
+
- Template propagation now deletes the local `carson/template-sync` branch after worktree cleanup. Previously, the worktree was removed but the local branch it created was left behind in the governed repository, polluting the user's branch list.
|
|
13
|
+
|
|
14
|
+
### No migration required
|
|
15
|
+
|
|
16
|
+
Run `carson refresh` — the fix takes effect immediately. Stale `carson/template-sync` branches in governed repos can be removed with `git branch -D carson/template-sync`.
|
|
17
|
+
|
|
8
18
|
## 2.16.0 — Auto-propagate Template Changes
|
|
9
19
|
|
|
10
20
|
### What changed
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.16.
|
|
1
|
+
2.16.1
|
data/lib/carson/runtime/local.rb
CHANGED
|
@@ -591,10 +591,11 @@ module Carson
|
|
|
591
591
|
pr_url
|
|
592
592
|
end
|
|
593
593
|
|
|
594
|
-
# Removes the worktree
|
|
594
|
+
# Removes the worktree and the local sync branch it created.
|
|
595
595
|
def template_propagate_cleanup!( worktree_dir: )
|
|
596
596
|
git_run( "worktree", "remove", "--force", worktree_dir )
|
|
597
|
-
|
|
597
|
+
git_run( "branch", "-D", TEMPLATE_SYNC_BRANCH )
|
|
598
|
+
puts_verbose "template_propagate: worktree and local branch cleaned up"
|
|
598
599
|
rescue StandardError => e
|
|
599
600
|
puts_verbose "template_propagate: cleanup warning (#{e.message})"
|
|
600
601
|
end
|