Skip to content

Commit

Permalink
fix: release script not building first
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdottv committed May 3, 2021
1 parent 896ac5b commit 31aa1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"scripts": {
"no-changes": "(git log --oneline -1 | grep -q \"chore(release):\") && echo \"No changes to release.\"",
"bump": "yarn --silent no-changes || semantic-release --no-ci",
"release": "yarn --silent no-changes || (yarn bump && git push --follow-tags origin main)",
"format": "prettier --write '**/*.*' && eslint . --ext .ts --fix",
"package": "rm -fr dist && mkdir -p dist/js && yarn pack && mv *.tgz dist/js/",
"compile": "tsc",
"watch": "tsc -w",
"build": "yarn test && yarn compile && yarn run package",
"release": "yarn build && yarn --silent no-changes || (yarn bump && git push --follow-tags origin main)",
"test": "rm -fr lib/ && jest --passWithNoTests --updateSnapshot && yarn eslint",
"test:watch": "jest --watch",
"test:update": "jest --updateSnapshot",
Expand Down

0 comments on commit 31aa1ad

Please sign in to comment.