Skip to content

Commit

Permalink
Release/v4.0.0 (#562)
Browse files Browse the repository at this point in the history
* Update tagged release pipeline to fix auth

* Update libnut to 2.7.1 because the 2.7.0 Windows build is broken

* Another round of updates to release pipeline config

* Another round of updates to release pipeline config
  • Loading branch information
s1hofmann committed Feb 19, 2024
1 parent e2ae55d commit 494b022
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 18 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tagged_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]
node: [ 18 ]
runs-on: ${{matrix.os}}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Set up Git repository
uses: actions/checkout@v3
Expand All @@ -37,6 +39,8 @@ jobs:
needs:
- test
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Set up Git repository
uses: actions/checkout@v3
Expand All @@ -61,13 +65,13 @@ jobs:
external_repository: nut-tree/apidoc
publish_dir: ./core/nut.js/docs
- name: Publish tagged release to npm
run: npm publish
run: pnpm run publish:release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v3
with:
registry-url: "https://npm.pkg.github.com"
- name: Publish tagged release to GPR
run: npm publish
run: pnpm run publish:release
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions core/nut.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"coverage": "jest --coverage --runInBand --logHeapUsage",
"coverage:clean": "rimraf coverage",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish --no-git-checks",
"prepublishOnly": "pnpm run compile",
"typedoc": "typedoc --options ./typedoc.js --entryPointStrategy expand ./lib"
},
Expand Down
1 change: 1 addition & 0 deletions core/provider-interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"clean": "rimraf dist",
"compile": "pnpm run clean && tsc -p .",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish --no-git-checks",
"prepublishOnly": "pnpm run compile"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions core/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"clean": "rimraf dist",
"compile": "pnpm run clean && tsc -p .",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish --no-git-checks",
"prepublishOnly": "pnpm run compile"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"coverage:clean": "pnpm -r run coverage:clean",
"prepare": "husky install",
"publish:next": "pnpm -r run publish:next",
"publish": "pnpm -r run publish"
"publish:release": "pnpm -r run publish:release"
},
"packageManager": "[email protected]",
"workspaces": [
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions providers/clipboardy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"clean": "rimraf dist",
"compile": "pnpm run clean && tsc -p .",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish --no-git-checks",
"prepublishOnly": "pnpm run compile"
},
"keywords": [
Expand Down
7 changes: 4 additions & 3 deletions providers/libnut/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@
"coverage": "jest --coverage --runInBand",
"coverage:clean": "rimraf coverage",
"publish:next": "pnpm publish --tag next --no-git-checks",
"publish:release": "pnpm publish --no-git-checks",
"prepublishOnly": "pnpm run compile",
"version": "npm version --no-git-tag -f"
},
"engines": {
"node": ">=10.15.3"
},
"dependencies": {
"@nut-tree/libnut-darwin": "2.7.0",
"@nut-tree/libnut-linux": "2.7.0",
"@nut-tree/libnut-win32": "2.7.0"
"@nut-tree/libnut-darwin": "2.7.1",
"@nut-tree/libnut-linux": "2.7.1",
"@nut-tree/libnut-win32": "2.7.1"
},
"devDependencies": {
"@nut-tree/configs": "workspace:*",
Expand Down

0 comments on commit 494b022

Please sign in to comment.