Skip to content

Commit

Permalink
ci: fix duplicate publication
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinsha committed Sep 30, 2024
1 parent 25bdbe3 commit 2637b16
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
cp README.md serverless-plugin
[[ "${{ github.event.release.prerelease }}" = true ]] && export NPM_PUBLISH_ARGS="--tag next" || export NPM_PUBLISH_ARGS=""
npm publish ${NPM_PUBLISH_ARGS} --workspace slic-watch-core --workspace serverless-slic-watch-plugin --include-workspace-root
npm publish ${NPM_PUBLISH_ARGS}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: SAR publish
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/fourTheorem/slic-watch.git",
"url": "git+https://github.com/fourTheorem/slic-watch.git",
"directory": "core"
},
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"version": "3.3.1-rc3",
"description": "Root project for SLIC Watch",
"main": "index.js",
"bin": "cli/dist/index.js",
"bin": {
"slic-watch": "cli/dist/index.js"
},
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/fourTheorem/slic-watch.git"
"url": "git+https://github.com/fourTheorem/slic-watch.git"
},
"workspaces": [
"core",
Expand Down
2 changes: 1 addition & 1 deletion serverless-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/fourTheorem/slic-watch.git",
"url": "git+https://github.com/fourTheorem/slic-watch.git",
"directory": "serverless-plugin"
},
"scripts": {
Expand Down

0 comments on commit 2637b16

Please sign in to comment.