Skip to content

Commit

Permalink
chore: Update nu for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Apr 3, 2024
1 parent 7444d5e commit 031dd82
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
16 changes: 8 additions & 8 deletions npm/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion nu/npm.nu
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 031dd82

Please sign in to comment.