Skip to content

Commit

Permalink
Add hook to automatically update demo app after a release
Browse files Browse the repository at this point in the history
  • Loading branch information
flochtililoch committed Apr 6, 2022
1 parent c304bdd commit 7a39539
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,7 +29,7 @@
"generate": "babel-node ./scripts/generate",
"preversion": "yarn test && yarn build",
"prettify": "pretty-quick && prettier --write '**/*.xsd' '**/*.xml' '**/*.md'",
"postversion": "yarn publish --new-version $npm_package_version && git push --follow-tags",
"postversion": "yarn publish --new-version $npm_package_version && cd demo && yarn add hyperview@$npm_package_version && git add package.json yarn.lock && git commit -m'chore(demo): update Hyperview to v$npm_package_version' && cd .. && git push --follow-tags",
"format-xml": "./scripts/format-xml.sh",
"release:patch": "yarn version --patch",
"release:minor": "yarn version --minor",
Expand Down

0 comments on commit 7a39539

Please sign in to comment.