File tree 3 files changed +8
-4
lines changed 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
name : Release a New Version of the CLI
7
7
8
+ permissions :
9
+ contents : write
10
+
8
11
jobs :
9
12
releaseandpublish :
10
13
name : Release on Github
21
24
22
25
- name : 📥 Download deps
23
26
run : bun install --frozen-lockfile
27
+ working-directory : atw-cli
24
28
25
29
- name : 🔨 Compiling the different versions
26
30
run : make build-all-cli
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ build-cli: ## Build CLI
69
69
build-all-cli :
70
70
@cd $(CLI_DIR ) && bun build --bundle src/index.ts --outfile atw-cli.js --target=bun
71
71
@cd $(CLI_DIR ) && bun shim.ts
72
- @cd $(CLI_DIR ) && for target in bun-linux-x64 bun-linux-arm64 bun-windows-x64 bun-darwin-x64 bun-darwin-arm64; do \
72
+ @cd $(CLI_DIR ) && for target in bun-linux-x64 bun-linux-arm64 bun-windows-x64 bun-darwin-x64 bun-darwin-arm64; do \
73
73
bun build --compile --minify atw-cli.js --outfile atw-cli-$$ target --target=$$ target; \
74
74
done
75
- @rm atw-cli.js
75
+ @cd $( CLI_DIR ) && rm atw-cli.js
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ export async function loader({ context }: Route.LoaderArgs) {
20
20
search . set ( "h" , "315" ) ;
21
21
search . set ( "src" , image . url ) ;
22
22
return {
23
- ...image ,
24
- url : context . mainConfig . origin + "/img" + "?" + search . toString ( ) ,
23
+ ...image ,
24
+ url : context . mainConfig . origin + "/img" + "?" + search . toString ( ) ,
25
25
} ;
26
26
} ) ;
27
27
You can’t perform that action at this time.
0 commit comments