oh-my-customcode 0.135.0 → 0.136.0
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.
package/dist/cli/index.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -149,6 +149,17 @@ steps:
|
|
|
149
149
|
prompt: |
|
|
150
150
|
Create a GitHub Release.
|
|
151
151
|
|
|
152
|
+
0. Pre-check (mandatory, delegate to mgr-gitnerd per R010): Detect and remove stale local `release` branch if present.
|
|
153
|
+
The local `release` branch (file ref) conflicts with `release/v*` directory ref namespace.
|
|
154
|
+
mgr-gitnerd executes (force-delete acceptable in automation context; warns if branch has unpushed commits):
|
|
155
|
+
if git show-ref --verify --quiet refs/heads/release; then
|
|
156
|
+
# Check for unpushed commits before force-delete
|
|
157
|
+
if [ -n "$(git log refs/heads/release ^origin/develop --oneline 2>/dev/null)" ]; then
|
|
158
|
+
echo "::warning::Local 'release' branch has unpushed commits — force-deleting anyway"
|
|
159
|
+
fi
|
|
160
|
+
git branch -D release
|
|
161
|
+
fi
|
|
162
|
+
Reference: issue #1141 (v0.135.0 follow-up), mgr-gitnerd MEMORY.md.
|
|
152
163
|
1. Version:
|
|
153
164
|
- No existing tags → v0.1.0
|
|
154
165
|
- Otherwise: semver bump (patch for bugfix, minor for features)
|
|
@@ -159,10 +170,9 @@ steps:
|
|
|
159
170
|
4. Close milestone
|
|
160
171
|
5. Close verify-ready issues with "Fixed in v{version}"
|
|
161
172
|
Label needs-review issues as "Deferred from v{version}"
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
- Non-npm: direct tag on main (trunk-based)
|
|
173
|
+
6. Adapt release mechanism to project:
|
|
174
|
+
- npm project: PR + merge + npm publish verification
|
|
175
|
+
- Non-npm: direct tag on main (trunk-based)
|
|
166
176
|
description: "Git tag + GitHub Release + close milestone/issues"
|
|
167
177
|
depends_on: deep-verify
|
|
168
178
|
|
package/templates/manifest.json
CHANGED