@wipcomputer/wip-release 1.2.0 → 1.2.2
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/CHANGELOG.md +5 -0
- package/SKILL.md +2 -2
- package/core.mjs +3 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
## 1.2.2 (2026-02-21)
|
|
8
|
+
|
|
9
|
+
Fix ClawHub display name and slug detection. Harden command injection fix.
|
|
10
|
+
|
|
6
11
|
## 1.2.0 (2026-02-21)
|
|
7
12
|
|
|
8
13
|
Add ClawHub publish as step 9 in release pipeline. Fix command injection by replacing execSync with execFileSync argument arrays. Declare required binaries and secrets in SKILL.md metadata.
|
package/SKILL.md
CHANGED
package/core.mjs
CHANGED
|
@@ -264,11 +264,9 @@ function getNpmToken() {
|
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
function detectSkillSlug(repoPath) {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
const match = content.match(/^---[\s\S]*?name:\s*(.+?)[\s\n][\s\S]*?---/);
|
|
271
|
-
return match ? match[1].trim() : basename(repoPath);
|
|
267
|
+
// Slug must be lowercase and url-safe. Use directory name, not SKILL.md name
|
|
268
|
+
// (SKILL.md name can be display-formatted like "WIP.release").
|
|
269
|
+
return basename(repoPath).toLowerCase();
|
|
272
270
|
}
|
|
273
271
|
|
|
274
272
|
function detectRepoSlug(repoPath) {
|