File tree Expand file tree Collapse file tree 6 files changed +25
-11
lines changed
Expand file tree Collapse file tree 6 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 1111 steps :
1212 - uses : actions/checkout@v3
1313 - name : Setup Fluent CI
14- uses : fluentci-io/setup-fluentci@v4
15- - name : Run Dagger Pipelines
16- run : fluentci run deno_pipeline fmt lint
14+ uses : fluentci-io/setup-fluentci@v5
15+ with :
16+ wasm : true
17+ plugin : deno
18+ args : |
19+ fmt
20+ lint
1721 env :
18- DAGGER_CLOUD_TOKEN : ${{secrets.DAGGER_CLOUD_TOKEN }}
22+ GITHUB_ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1919 steps :
2020 - uses : actions/checkout@v3
2121 - name : Setup Fluent CI
22- uses : fluentci-io/setup-fluentci@v4
23- - name : Publish flake
24- run : fluentci run flakestry_pipeline publish
22+ uses : fluentci-io/setup-fluentci@v5
23+ with :
24+ wasm : true
25+ plugin : flakestry
26+ args : publish
2527 env :
2628 VERSION : ${{ inputs.tag || github.ref_name }}
2729 GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ Or download the binary from the [releases page](https://github.com/pocketenv-io/
5959pocketenv --help
6060
6161Usage: pocketenv
62- Version: 0.1.0
62+ Version: 0.1.1
6363
6464Description:
6565
Original file line number Diff line number Diff line change 2525
2626 packages . default = pkgs . deno2nix . mkExecutable {
2727 pname = "pocketenv" ;
28- version = "0.1.0 " ;
28+ version = "0.1.1 " ;
2929
3030 src = ./. ;
3131 lockfile = "./deno.lock" ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ async function up(
2323 }
2424
2525 let workdir = Deno . cwd ( ) ;
26+ const generatedName = generateName ( ) ;
2627
2728 if ( workspace ) {
2829 const result = await workspaces . get ( workspace ) ;
@@ -31,6 +32,13 @@ async function up(
3132 Deno . exit ( 1 ) ;
3233 }
3334 workdir = result . path ;
35+ args . push ( `-var 'hostname=${ result . name } '` ) ;
36+ args . push ( `-var 'workspace_name=${ result . name } '` ) ;
37+ }
38+
39+ if ( ! workspace ) {
40+ args . push ( `-var 'hostname=${ generatedName } '` ) ;
41+ args . push ( `-var 'workspace_name=${ generatedName } '` ) ;
3442 }
3543
3644 if ( existsSync ( `${ workdir } /.pocketenv` ) ) {
@@ -53,7 +61,7 @@ async function up(
5361
5462 const result = await workspaces . get ( workspace || Deno . cwd ( ) ) ;
5563
56- workspace = result ?. name || workspace || generateName ( ) ;
64+ workspace = result ?. name || workspace || generatedName ;
5765 await workspaces . save ( result ?. path || Deno . cwd ( ) , {
5866 containerId,
5967 name : workspace ,
Original file line number Diff line number Diff line change 11import { dir } from "../deps.ts" ;
22
3- export const VERSION = "0.1.0 " ;
3+ export const VERSION = "0.1.1 " ;
44
55export const POCKETENV_DIR = `${ dir ( "home" ) } /.pocketenv` ;
66
You can’t perform that action at this time.
0 commit comments