Skip to content

Commit 952cafc

Browse files
authored
Update promote.sh [ci skip]
1 parent 3dccaee commit 952cafc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/promote.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
2222
yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes

0 commit comments

Comments
 (0)