@@ -67,7 +67,7 @@ function createRelease(keys, version, platform, assetBytes, options = {}) {
6767 starter : {
6868 groupId : 'ai.ctxa' ,
6969 artifactId : 'spring-boot-starter-contexa' ,
70- version : options . releaseStarterVersion || '0.1.0-SNAPSHOT ' ,
70+ version : options . releaseStarterVersion || '0.1.0' ,
7171 } ,
7272 ...( options . omitSource ? { } : {
7373 source : {
@@ -100,7 +100,7 @@ function createChannel(keys, version, options = {}) {
100100 channel : options . channel || 'snapshot' ,
101101 releaseTag : options . releaseTag || `v${ version } ` ,
102102 cliVersion : options . cliVersion || version ,
103- starterVersion : options . starterVersion || '0.1.0-SNAPSHOT ' ,
103+ starterVersion : options . starterVersion || '0.1.0' ,
104104 sourceCommit : options . sourceCommit || 'a' . repeat ( 40 ) ,
105105 releaseManifestSha256 : options . releaseManifestSha256 || '0' . repeat ( 64 ) ,
106106 } , null , 2 ) } \n`) ;
@@ -548,7 +548,8 @@ test('PowerShell installer resolves the signed snapshot channel and rejects chan
548548
549549 await assertChannelFailure ( 'channel-cli-mismatch' , { } , { cliVersion : '9.9.5-other' } ) ;
550550 await assertChannelFailure ( 'release-tag-mismatch' , { releaseTag : 'v9.9.5-other' } , { } ) ;
551- await assertChannelFailure ( 'starter-mismatch' , { releaseStarterVersion : '0.2.0-SNAPSHOT' } , { } ) ;
551+ await assertChannelFailure ( 'starter-mismatch' , { releaseStarterVersion : '0.2.0' } , { } ) ;
552+ await assertChannelFailure ( 'invalid-starter-version' , { } , { starterVersion : 'latest' } ) ;
552553 await assertChannelFailure ( 'asset-mismatch' , { manifestDigest : '0' . repeat ( 64 ) } , { } ) ;
553554 await assertChannelFailure ( 'channel-signature' , { } , { signingKey : wrongKeys . privateKey } ) ;
554555 await assertChannelFailure ( 'legacy-release-schema' , { schemaVersion : 1 , omitSource : true } , { } ) ;
0 commit comments