File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 bun-version : latest
2020
2121 - name : Install dependencies
22- run : |
23- sudo apt-get update && sudo apt-get install -y zip
24- bun install
22+ run : bun install
2523
2624 - name : Build CLI
2725 run : |
Original file line number Diff line number Diff line change @@ -207,13 +207,9 @@ for (const item of targets) {
207207
208208if ( Script . release ) {
209209 for ( const key of Object . keys ( binaries ) ) {
210- if ( key . includes ( "linux" ) ) {
211- await $ `tar -czf ../../${ key } .tar.gz *` . cwd ( `dist/${ key } /bin` )
212- } else {
213- await $ `zip -r ../../${ key } .zip *` . cwd ( `dist/${ key } /bin` )
214- }
210+ await $ `tar -czf ../../${ key } .tar.gz *` . cwd ( `dist/${ key } /bin` )
215211 }
216- await $ `gh release upload v${ Script . version } ./dist/*.zip ./dist/*. tar.gz --clobber --repo ${ process . env . GH_REPO } `
212+ await $ `gh release upload v${ Script . version } ./dist/*.tar.gz --clobber --repo ${ process . env . GH_REPO } `
217213}
218214
219215export { binaries }
You can’t perform that action at this time.
0 commit comments