diff --git a/publish.sh b/publish.sh index b727dcb..11140fd 100755 --- a/publish.sh +++ b/publish.sh @@ -1,16 +1,11 @@ set -e -git checkout dev - -npm run prepublishOnly -npm version patch -git push git checkout teslemetry -git rebase dev -git push --force-with-lease +rm -r dist +npm publish git checkout tessie -git rebase dev -git push --force-with-lease +rm -r dist +npm publish git checkout dev \ No newline at end of file diff --git a/rebase.sh b/rebase.sh index 11140fd..b727dcb 100755 --- a/rebase.sh +++ b/rebase.sh @@ -1,11 +1,16 @@ set -e +git checkout dev + +npm run prepublishOnly +npm version patch +git push git checkout teslemetry -rm -r dist -npm publish +git rebase dev +git push --force-with-lease git checkout tessie -rm -r dist -npm publish +git rebase dev +git push --force-with-lease git checkout dev \ No newline at end of file