Skip to content

Commit

Permalink
chore(make): build before deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
IJustDev committed Nov 12, 2023
1 parent da79d35 commit dd3506d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,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
git push
git push --tags
Expand Down

0 comments on commit dd3506d

Please sign in to comment.