Skip to content

Commit

Permalink
release: 0.2.34
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jun 5, 2024
1 parent 1b1e804 commit 9d1ac96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
if git log -1 --pretty=%B | grep "^release: [0-9]\+\.[0-9]\+\.[0-9]\+$";
then
cd dist
npm publish --provenance --access public
pnpm publish --provenance --access public
cd ..
elif git log -1 --pretty=%B | grep "^release: [0-9]\+\.[0-9]\+\.[0-9]\+";
then
cd dist
npm publish --tag next --provenance --access public
pnpm publish --tag next --provenance --access public
cd ..
else
echo "Not a release, skipping publish"
Expand All @@ -54,3 +54,4 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint": "eslint --format=sukka .",
"build": "rollup -c rollup.config.ts --configPlugin swc3 --bundleConfigAsCjs",
"postbuild": "node -r @swc-node/register tools/postbuild.ts",
"prepublishOnly": "npm run build && echo \"This package is not meant to be published from root dir.\" && exit 1"
"prepublishOnly": "npm run build"
},
"keywords": [
"React",
Expand Down

0 comments on commit 9d1ac96

Please sign in to comment.