Skip to content

Commit 4376d89

Browse files
johns25chenkai777
andauthored
Update release index and audit for v0.2.6 (#2)
* Update release index and audit for v0.2.6 * Update release index and audit for v0.2.6 --------- Co-authored-by: kai777 <ykchen777@gmail.com>
1 parent 0cbd3bc commit 4376d89

3 files changed

Lines changed: 20 additions & 17 deletions

File tree

docs/releases/public-release-index.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Use the latest public release.
1212

1313
Recommended current release after this document is published:
1414

15-
v0.2.5-public or newer
15+
v0.2.6-public or newer
1616

1717
If you are new to the project, start with:
1818

@@ -27,7 +27,8 @@ If you are new to the project, start with:
2727

2828
| Release | Status | Purpose |
2929
|---|---|---|
30-
| `v0.2.5-public` | current | Public release index and version map |
30+
| `v0.2.6-public` | current | Public release health audit |
31+
| `v0.2.5-public` | stable | Public release index and version map |
3132
| `v0.2.4-public` | stable | Public workflow matrix and capability boundary table |
3233
| `v0.2.3-public` | stable | Public-safe dry-run mock implementation example |
3334
| `v0.2.2-public` | stable | Public-safe dry-run workflow contract |
@@ -86,6 +87,7 @@ Current v0.2 line:
8687
| `v0.2.3-public` | dry-run | yes | yes | no |
8788
| `v0.2.4-public` | workflow matrix | yes | n/a | no |
8889
| `v0.2.5-public` | release index | yes | n/a | no |
90+
| `v0.2.6-public` | release health audit | yes | n/a | no |
8991

9092
---
9193

@@ -161,7 +163,7 @@ The public repository does not currently support:
161163

162164
Use this rule:
163165

164-
If you want the clearest public documentation, use v0.2.5-public or newer.
166+
If you want the clearest public release health audit coverage, use v0.2.6-public or newer.
165167
If you want the first complete public workflow boundary line, use v0.2.4-public or newer.
166168
If you want the first working dry-run mock example, use v0.2.3-public or newer.
167169
If you want the first working status-read mock example, use v0.2.1-public or newer.

scripts/audit-public-release-health.mjs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ function checkReleaseIndexContent() {
6969
const text = readFileSync(releaseIndexPath, 'utf8');
7070
addCheck(
7171
'recommended_release_text',
72-
text.includes('v0.2.5-public or newer'),
73-
'recommended release text includes "v0.2.5-public or newer"'
72+
text.includes('v0.2.6-public or newer'),
73+
'recommended release text includes "v0.2.6-public or newer"'
7474
);
7575

7676
for (const tag of ['v0.1.4-public', 'v0.1.5-public']) {
@@ -118,39 +118,39 @@ function checkPackageScripts() {
118118

119119
function checkGitTag() {
120120
if (!commandExists('git')) {
121-
addWarning('git is unavailable; skipped local tag check for v0.2.5-public');
122-
addCheck('git_tag_v0_2_5_public', true, 'skipped because git is unavailable');
121+
addWarning('git is unavailable; skipped local tag check for v0.2.6-public');
122+
addCheck('git_tag_v0_2_6_public', true, 'skipped because git is unavailable');
123123
return;
124124
}
125125

126-
const result = run('git', ['rev-parse', '--verify', '--quiet', 'refs/tags/v0.2.5-public']);
126+
const result = run('git', ['rev-parse', '--verify', '--quiet', 'refs/tags/v0.2.6-public']);
127127
addCheck(
128-
'git_tag_v0_2_5_public',
128+
'git_tag_v0_2_6_public',
129129
result.status === 0,
130-
'local git tag v0.2.5-public exists'
130+
'local git tag v0.2.6-public exists'
131131
);
132132
}
133133

134134
function checkGithubRelease() {
135135
if (!commandExists('gh')) {
136136
addWarning('gh is unavailable; skipped latest GitHub release check');
137-
addCheck('github_latest_release_v0_2_5_public', true, 'skipped because gh is unavailable');
137+
addCheck('github_latest_release_v0_2_6_public', true, 'skipped because gh is unavailable');
138138
return;
139139
}
140140

141141
const authStatus = run('gh', ['auth', 'status']);
142142
if (authStatus.status !== 0) {
143143
addWarning('gh is available but not authenticated; skipped latest GitHub release check');
144-
addCheck('github_latest_release_v0_2_5_public', true, 'skipped because gh is not authenticated');
144+
addCheck('github_latest_release_v0_2_6_public', true, 'skipped because gh is not authenticated');
145145
return;
146146
}
147147

148148
const result = run('gh', ['release', 'view', '--json', 'tagName,name,body', '--jq', '[.tagName, .name, .body] | join("\\n")']);
149149
const output = `${result.stdout || ''}\n${result.stderr || ''}`;
150150
addCheck(
151-
'github_latest_release_v0_2_5_public',
152-
result.status === 0 && output.includes('v0.2.5-public'),
153-
'latest GitHub release contains v0.2.5-public'
151+
'github_latest_release_v0_2_6_public',
152+
result.status === 0 && output.includes('v0.2.6-public'),
153+
'latest GitHub release contains v0.2.6-public'
154154
);
155155
}
156156

scripts/test-public-release-index.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ const text = readFileSync(docPath, 'utf8');
1717
const requiredPhrases = [
1818
'Public Release Index',
1919
'Recommended current release after this document is published:',
20-
'v0.2.5-public or newer',
21-
'| `v0.2.5-public` | current | Public release index and version map |',
20+
'v0.2.6-public or newer',
21+
'| `v0.2.6-public` | current | Public release health audit |',
22+
'| `v0.2.5-public` | stable | Public release index and version map |',
2223
'| `v0.2.4-public` | stable | Public workflow matrix and capability boundary table |',
2324
'| `v0.2.3-public` | stable | Public-safe dry-run mock implementation example |',
2425
'| `v0.2.2-public` | stable | Public-safe dry-run workflow contract |',

0 commit comments

Comments
 (0)