Skip to content

Commit

Permalink
chore(make): commit package.json too
Browse files Browse the repository at this point in the history
  • Loading branch information
IJustDev committed Nov 12, 2023
1 parent dd3506d commit 7cabf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ release:
git diff --quiet -- ':(exclude)Makefile' ':(exclude)CHANGELOG.md' ':(exclude)tools/*' || (echo "You have uncommited changes" && exit 1)
node tools/apply-latest-version-from-changelog-to-package-json.js
npm run build
export TAG=`cat package.json | jq -r .version` && echo $$TAG && git add CHANGELOG.md && git commit -m 'chore(changelog): $$TAG' && git tag $$TAG
export TAG=`cat package.json | jq -r .version` && echo $$TAG && git add CHANGELOG.md package.json package-lock.json && git commit -m "chore(changelog): $$TAG" && git tag $$TAG
git push
git push --tags
npm publish

0 comments on commit 7cabf90

Please sign in to comment.