File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
1212# Update their versions and changelogs according to angular commit guidelines
1313# https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit
1414
15- # if [[ ! -z "${PATTERNFLY_VERSION}" ]]; then
16- # echo "Updating to @patternfly/patternfly: ${PATTERNFLY_VERSION}"
17- # npm pkg set dependencies.@patternfly/patternfly=${PATTERNFLY_VERSION} --workspace @patternfly/react-docs
18- # npm pkg set devDependencies.@patternfly/patternfly=${PATTERNFLY_VERSION} --workspace @patternfly/react-core --workspace @patternfly/react-styles --workspace @patternfly/react-tokens --workspace @patternfly/react-icons
19- # fi
15+ if [[ ! -z " ${PATTERNFLY_VERSION} " ]]; then
16+ echo " Updating to @patternfly/patternfly: ${PATTERNFLY_VERSION} "
17+ npm pkg set dependencies.@patternfly/patternfly=${PATTERNFLY_VERSION} --workspace @patternfly/react-docs
18+ npm pkg set devDependencies.@patternfly/patternfly=${PATTERNFLY_VERSION} --workspace @patternfly/react-core --workspace @patternfly/react-styles --workspace @patternfly/react-tokens --workspace @patternfly/react-icons
19+ fi
2020
2121# publish to npm
22- # yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes
22+ yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes
2323
2424# immediately after promote - set up repo for next prerelease
2525# yarn run lerna version preminor --force-publish --conventional-commits --no-private --yes --preid prerelease
2626
2727# dry run
28- yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push
28+ # yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push
2929
3030
You can’t perform that action at this time.
0 commit comments