Skip to content

Commit

Permalink
build: push to head only when the release succeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
oterral committed Oct 25, 2023
1 parent f861448 commit 45f3a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@
"postbuild": "cp package.json build/ && cd src && find . -name '*.scss' | cpio -pdm ../build",
"prebuild": "rm -rf build/",
"prepare": "is-ci || husky install",
"publish:beta": "yarn release -- --prerelease beta --skip.changelog && git push origin HEAD && yarn run build && git push --tags && HUSKY=0 yarn publish build/ --tag beta",
"publish:beta": "yarn release -- --prerelease beta --skip.changelog && yarn run build && HUSKY=0 yarn publish build/ --tag beta && git push origin HEAD && git push --tags",
"publish:beta:dryrun": "yarn release -- --prerelease beta --dry-run --skip.changelog",
"publish:public": "yarn release && git push origin HEAD && yarn build && git push --tags && HUSKY=0 yarn publish build/",
"publish:public": "yarn release && yarn build && HUSKY=0 yarn publish build/ && git push origin HEAD && git push --tags",
"publish:public:dryrun": "yarn release --dry-run",
"release": "standard-version",
"start": "styleguidist server",
Expand Down

0 comments on commit 45f3a41

Please sign in to comment.