diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index 1a86f19..103b524 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -27,7 +27,7 @@ jobs: - uses: hustcer/setup-nu@v3.9 with: - version: 0.91.0 + version: 0.92.0 - name: Publish to NPM run: nu nu/npm.nu each @@ -54,7 +54,7 @@ jobs: - uses: hustcer/setup-nu@v3.9 with: - version: 0.91.0 + version: 0.92.0 - name: Publish the base package continue-on-error: true diff --git a/npm/app/package.json b/npm/app/package.json index 8bede62..77d969b 100644 --- a/npm/app/package.json +++ b/npm/app/package.json @@ -41,14 +41,14 @@ "typescript": "^5.2.2" }, "optionalDependencies": { - "@nushell/windows-x64": "0.91.0", - "@nushell/windows-arm64": "0.91.0", - "@nushell/linux-x64": "0.91.0", - "@nushell/linux-riscv64": "0.91.0", - "@nushell/linux-arm64": "0.91.0", - "@nushell/linux-arm": "0.91.0", - "@nushell/darwin-x64": "0.91.0", - "@nushell/darwin-arm64": "0.91.0" + "@nushell/windows-x64": "0.92.0", + "@nushell/windows-arm64": "0.92.0", + "@nushell/linux-x64": "0.92.0", + "@nushell/linux-riscv64": "0.92.0", + "@nushell/linux-arm64": "0.92.0", + "@nushell/linux-arm": "0.92.0", + "@nushell/darwin-x64": "0.92.0", + "@nushell/darwin-arm64": "0.92.0" }, "eslintConfig": { "extends": [ diff --git a/nu/npm.nu b/nu/npm.nu index a63e48a..351fcf1 100644 --- a/nu/npm.nu +++ b/nu/npm.nu @@ -139,7 +139,7 @@ def 'publish-each-pkg' [] { # note: windows binaries has '.exe' extension hr-line print $'Going to cp: ($pkg_dir)/($bin_dir)/($bin) to release directory...' - cp $'($__dir)/README.*' $rls_dir + cp ($'($__dir)/README.*' | into glob) $rls_dir cp $'($pkg_dir)/($bin_dir)/LICENSE' $rls_dir cp $'($pkg_dir)/($bin_dir)/($bin)' $'($rls_dir)/bin' # publish the package