@metasession.co/devaudit-cli 0.1.23 → 0.1.24
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metasession.co/devaudit-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"description": "DevAudit CLI — installs, syncs, and operates the Metasession SDLC across consumer projects.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@clack/prompts": "^0.8.2",
|
|
36
|
-
"@metasession.co/devaudit-plugin-sdk": "^0.1.
|
|
36
|
+
"@metasession.co/devaudit-plugin-sdk": "^0.1.24",
|
|
37
37
|
"commander": "^12.1.0",
|
|
38
38
|
"consola": "^3.2.3",
|
|
39
39
|
"env-paths": "^3.0.0",
|
|
@@ -39,6 +39,12 @@ jobs:
|
|
|
39
39
|
DEVAUDIT_API_KEY: ${{ secrets.DEVAUDIT_API_KEY }}
|
|
40
40
|
steps:
|
|
41
41
|
- uses: actions/checkout@v4
|
|
42
|
+
with:
|
|
43
|
+
# Full history so `req_meta_args` can `git log --grep "[REQ-XXX]|Ref: REQ-XXX"`
|
|
44
|
+
# against the implementation commits (the merge commit alone never
|
|
45
|
+
# carries the REQ tag in a feature → develop PR flow, so without this
|
|
46
|
+
# the change_type derivation is null nearly everywhere — #77).
|
|
47
|
+
fetch-depth: 0
|
|
42
48
|
|
|
43
49
|
- name: Resolve DevAudit base URL
|
|
44
50
|
id: resolve
|
|
@@ -147,8 +153,12 @@ jobs:
|
|
|
147
153
|
CT=$(git log --grep "\[${REQ}\]\|Ref: ${REQ}" --pretty=%s -1 2>/dev/null \
|
|
148
154
|
| grep -oE '^(feat|fix|refactor|perf|chore|docs|ci|build|test|compliance|revert)' \
|
|
149
155
|
| head -1 || true)
|
|
150
|
-
[
|
|
151
|
-
[
|
|
156
|
+
# Use if/then/fi (not `[ … ] && cmd`) — under bash -eo pipefail a
|
|
157
|
+
# trailing `[ … ] && cmd` whose test fails returns 1, and the
|
|
158
|
+
# function inherits that exit code; calling via $(req_meta_args …)
|
|
159
|
+
# then aborts the step silently (DevAudit-Installer#77).
|
|
160
|
+
if [ -n "$TITLE" ]; then printf -- '--release-title %q ' "$TITLE"; fi
|
|
161
|
+
if [ -n "$CT" ]; then printf -- '--change-type %q ' "$CT"; fi
|
|
152
162
|
}
|
|
153
163
|
|
|
154
164
|
# Upload release tickets (pending only)
|