diff --git a/.github/promote.sh b/.github/promote.sh index 8b0a163a5db..c284182687e 100755 --- a/.github/promote.sh +++ b/.github/promote.sh @@ -19,10 +19,12 @@ if [[ ! -z "${CORE_VERSION}" ]]; then fi # publish to npm -# yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes +yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes + +# immediately after promote - set up repo for next prerelease +yarn run lerna version preminor --force-publish --conventional-commits --no-private --yes --preid prerelease # dry run -yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push +# yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push + -# immediately after promote - set up repo for next prerelease -# yarn run lerna version preminor --force-publish --conventional-commits --no-private --yes --preid prerelease