ace-git 0.18.4 → 0.18.5
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c027540195a5081320ef9e440582480cd4b3682190e40c24d123b4a54dd41f9
|
|
4
|
+
data.tar.gz: a2ae2188b33cb9762a9436c335da45903d8342f4531dd0a56a19522637bc3e81
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a87fcd62b3731fdd3061621431b70ba3cb68c63fa17e8f353ddeef68f84dd603beb9e39e9a9d360a33e73b4160bd73097224995fcb8a4984372eca83751c3d17
|
|
7
|
+
data.tar.gz: 73e2fc197ad8772004f7244e483434d1555e73cca95641a472900f007fc94a87ad9a044f294785e15003797915925d20e894842b70bc4f75bce2de2c89048392
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.18.5] - 2026-03-29
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Added Step 1.5 "Finalize Unreleased Content" to `github/release-publish` workflow: assigns version number and commits `[Unreleased]` content at publish time.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Updated `as-github-release-publish` skill with `Edit` and `ace-git-commit` tool permissions for changelog finalization.
|
|
17
|
+
- Updated rebase workflow CHANGELOG conflict advice for unreleased-mode branches.
|
|
18
|
+
|
|
10
19
|
## [0.18.4] - 2026-03-29
|
|
11
20
|
|
|
12
21
|
### Technical
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: as-github-release-publish
|
|
3
|
-
description:
|
|
3
|
+
description: Finalize unreleased changelog and create GitHub releases
|
|
4
4
|
# bundle: wfi://github/release-publish
|
|
5
5
|
# agent: general-purpose
|
|
6
6
|
user-invocable: true
|
|
7
7
|
allowed-tools:
|
|
8
8
|
- Bash(gh:*)
|
|
9
9
|
- Bash(ace-bundle:*)
|
|
10
|
+
- Bash(ace-git-commit:*)
|
|
10
11
|
- Read
|
|
12
|
+
- Edit
|
|
11
13
|
argument-hint: "[version-or-range] [--since duration] [--group-by package|date] [--category-order fixed,added,changed,technical] [--dry-run]"
|
|
12
14
|
last_modified: 2026-03-21
|
|
13
15
|
source: ace-git
|
|
@@ -190,7 +190,7 @@ if [ -d ".git/rebase-merge" ] || [ -d ".git/rebase-apply" ]; then
|
|
|
190
190
|
echo "Strategy: continue-first"
|
|
191
191
|
echo "Resolve conflicts, then run: git add <files> && git rebase --continue"
|
|
192
192
|
echo "Escalate only if the next rebase stop is also conflicted or resolution coordination becomes complex."
|
|
193
|
-
echo "CHANGELOG.md note: prefer git checkout --theirs CHANGELOG.md, then re-apply your entries on top before git add."
|
|
193
|
+
echo "CHANGELOG.md note: with unreleased-mode, merge both sides' items under [Unreleased] (keep all). For legacy versioned entries, prefer git checkout --theirs CHANGELOG.md, then re-apply your entries on top before git add."
|
|
194
194
|
else
|
|
195
195
|
echo "Strategy: cherry-pick fallback (conflict set is large)"
|
|
196
196
|
echo "Abort the rebase and proceed to Phase 3."
|
|
@@ -370,7 +370,7 @@ find .ace-local/git -name "*-rebase" -type d -mtime +7 -exec rm -rf {} +
|
|
|
370
370
|
git rebase "$target_branch"
|
|
371
371
|
# On conflict: resolve files, git add, git rebase --continue
|
|
372
372
|
# Escalate to Phase 3 only if conflicts keep repeating or require per-commit replay
|
|
373
|
-
# CHANGELOG: git checkout --theirs CHANGELOG.md, add your entries on top
|
|
373
|
+
# CHANGELOG: with unreleased-mode, merge both sides' [Unreleased] items. For versioned entries: git checkout --theirs CHANGELOG.md, add your entries on top
|
|
374
374
|
```
|
|
375
375
|
|
|
376
376
|
### Interactive Rebase
|
|
@@ -33,6 +33,59 @@ gh release list --limit 50 --json tagName,name --jq '[.[] | select(.tagName | st
|
|
|
33
33
|
|
|
34
34
|
If no `v*` release exists, treat all changelog versions as unpublished.
|
|
35
35
|
|
|
36
|
+
### 1.5. Finalize Unreleased Content
|
|
37
|
+
|
|
38
|
+
Check if the `## [Unreleased]` section in `CHANGELOG.md` has substantive content (any lines between
|
|
39
|
+
`## [Unreleased]` and the next `## [` heading that are not blank or HTML comments).
|
|
40
|
+
|
|
41
|
+
If `[Unreleased]` is empty, skip to step 2.
|
|
42
|
+
|
|
43
|
+
If `[Unreleased]` has content:
|
|
44
|
+
|
|
45
|
+
1. **Determine the next version number:**
|
|
46
|
+
- Find the highest existing versioned entry (`## [X.Y.Z]`) in `CHANGELOG.md`.
|
|
47
|
+
- Increment its patch number by 1 (e.g., `0.9.932` → `0.9.933`).
|
|
48
|
+
|
|
49
|
+
2. **Rewrite the unreleased section:**
|
|
50
|
+
- Move all category headings and bullet items from the `[Unreleased]` block into a new versioned entry.
|
|
51
|
+
- Leave the `[Unreleased]` section empty.
|
|
52
|
+
- Use today's date in ISO format.
|
|
53
|
+
|
|
54
|
+
Before:
|
|
55
|
+
```markdown
|
|
56
|
+
## [Unreleased]
|
|
57
|
+
|
|
58
|
+
### Fixed
|
|
59
|
+
- item 1
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
- item 2
|
|
63
|
+
|
|
64
|
+
## [0.9.932] - 2026-03-29
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
After:
|
|
68
|
+
```markdown
|
|
69
|
+
## [Unreleased]
|
|
70
|
+
|
|
71
|
+
## [0.9.933] - 2026-03-30
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
- item 1
|
|
75
|
+
|
|
76
|
+
### Added
|
|
77
|
+
- item 2
|
|
78
|
+
|
|
79
|
+
## [0.9.932] - 2026-03-29
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
3. **Commit the finalization:**
|
|
83
|
+
```bash
|
|
84
|
+
ace-git-commit CHANGELOG.md -i "finalize changelog v0.9.933 from unreleased"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
4. Proceed to step 2 with the newly created versioned entry available for publishing.
|
|
88
|
+
|
|
36
89
|
### 2. Parse Root CHANGELOG
|
|
37
90
|
|
|
38
91
|
Read `CHANGELOG.md` and extract all version entries matching `## [X.Y.Z] - YYYY-MM-DD`.
|
data/lib/ace/git/version.rb
CHANGED