File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ 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
2222yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes
You can’t perform that action at this time.
0 commit comments