Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
chore(workflows): conditional release.yml (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Oct 9, 2023
1 parent 1fe0539 commit 609eed0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- run: npm config set "//registry.npmjs.org/:_authToken" "\${NPM_AUTH_TOKEN}" --location=global

- run: pnpm -r exec npm publish --access public --tag latest --no-git-checks
- run: pnpm -r exec "if [ \"$(node -p \"require('./package.json').private\")\" = \"false\" ]; then npm publish --access public --tag latest --no-git-checks; fi"
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"repository": {
"url": "git+https://github.com/levaintech/levain-examples"
"url": "git+https://github.com/levaintech/levain-examples.git"
},
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-levain-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"description": "Create a new project with Levain quickly.",
"repository": {
"url": "git+https://github.com/levaintech/levain-examples"
"url": "git+https://github.com/levaintech/levain-examples.git"
},
"bin": "cli.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/levain-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"repository": {
"url": "git+https://github.com/levaintech/levain-examples"
"url": "git+https://github.com/levaintech/levain-examples.git"
},
"files": [
"schema.json"
Expand Down

1 comment on commit 609eed0

@vercel
Copy link

@vercel vercel bot commented on 609eed0 Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.