File tree Expand file tree Collapse file tree
packages/altimate-code/script Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.1.5] - 2026-03-02
9+
10+ ### Added
11+
12+ - Anthropic OAuth plugin ported in-tree
13+ - Docs site switched from Jekyll to Material for MkDocs
14+
15+ ### Fixed
16+
17+ - Build script: restore ` .trim() ` on models API JSON to prevent syntax error in generated ` models-snapshot.ts `
18+ - Build script: fix archive path for scoped package names in release tarball/zip creation
19+
820## [ 0.1.0] - 2025-06-01
921
1022### Added
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const modelsData = process.env.MODELS_DEV_API_JSON
2222 : await fetch ( `${ modelsUrl } /api.json` ) . then ( ( x ) => x . text ( ) )
2323await Bun . write (
2424 path . join ( dir , "src/provider/models-snapshot.ts" ) ,
25- `// Auto-generated by build.ts - do not edit\nexport const snapshot = ${ modelsData } as const\n` ,
25+ `// Auto-generated by build.ts - do not edit\nexport const snapshot = ${ modelsData . trim ( ) } as const\n` ,
2626)
2727console . log ( "Generated models-snapshot.ts" )
2828
@@ -212,13 +212,14 @@ for (const item of targets) {
212212
213213if ( Script . release ) {
214214 for ( const key of Object . keys ( binaries ) ) {
215+ const archiveName = key . replace ( / ^ @ a l t i m a t e \/ / , "" )
216+ const archivePath = path . resolve ( "dist" , archiveName )
215217 if ( key . includes ( "linux" ) ) {
216- await $ `tar -czf ../../ ${ key } .tar.gz *` . cwd ( `dist/${ key } /bin` )
218+ await $ `tar -czf ${ archivePath } .tar.gz *` . cwd ( `dist/${ key } /bin` )
217219 } else {
218- await $ `zip -r ../../ ${ key } .zip *` . cwd ( `dist/${ key } /bin` )
220+ await $ `zip -r ${ archivePath } .zip *` . cwd ( `dist/${ key } /bin` )
219221 }
220222 }
221- await $ `gh release upload v${ Script . version } ./dist/*.zip ./dist/*.tar.gz --clobber --repo ${ process . env . GH_REPO } `
222223}
223224
224225export { binaries }
You can’t perform that action at this time.
0 commit comments