Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Nov 29, 2023
1 parent cc9f62e commit 9201c51
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@ if [[ $(git branch --show-current) != "main" ]]; then
fi

npm version $1
git add .
version=$(cat package.json | jq -r '.version')
echo $version
git commit -m "release $version"
git push origin main --follow-tags
npm publish --access public

0 comments on commit 9201c51

Please sign in to comment.