@@ -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
119119function 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
134134function 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
0 commit comments