File tree Expand file tree Collapse file tree 3 files changed +2051
-1970
lines changed Expand file tree Collapse file tree 3 files changed +2051
-1970
lines changed Original file line number Diff line number Diff line change
1
+ console . log ( "poop" ) ;
2
+
1
3
import { parseArgs } from "jsr:@std/cli/parse-args" ;
2
4
3
5
import { main } from "../src/cli/ffr/main.ts" ;
Original file line number Diff line number Diff line change 1
1
import { basename , join } from "node:path" ;
2
2
import * as zip from "jsr:@zip-js/zip-js" ;
3
- import { increment , parse } from "jsr:@std/semver" ;
3
+ import { format , increment , parse } from "jsr:@std/semver" ;
4
4
5
5
const __dirname = new URL ( "." , import . meta. url ) . pathname ;
6
6
7
7
async function compile ( src : string , dest : string ) {
8
8
console . log ( `Compiling ${ src } to ${ dest } ` ) ;
9
9
10
10
const cmd = new Deno . Command ( Deno . execPath ( ) , {
11
+ cwd : join ( __dirname , "../" ) ,
11
12
args : [
12
13
"compile" ,
13
14
"-A" ,
@@ -66,6 +67,6 @@ await Promise.all([
66
67
67
68
const currentVersion =
68
69
await ( await fetch ( "https://elwood.run/ffremote/release/latest.txt" ) ) . text ( ) ;
69
- const nextVersion = increment ( parse ( currentVersion ) , "patch" ) ;
70
+ const nextVersion = format ( increment ( parse ( currentVersion ) , "patch" ) ) ;
70
71
71
72
console . log ( `new_version=${ nextVersion } ` ) ;
You can’t perform that action at this time.
0 commit comments