Skip to content

Commit

Permalink
Update promote.sh [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen authored Oct 24, 2024
1 parent 3dccaee commit 952cafc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
# Update their versions and changelogs according to angular commit guidelines
# https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit

# if [[ ! -z "${PATTERNFLY_VERSION}" ]]; then
# echo "Updating to @patternfly/patternfly: ${PATTERNFLY_VERSION}"
# npm pkg set dependencies.@patternfly/patternfly=${PATTERNFLY_VERSION} --workspace @patternfly/react-docs
# npm pkg set devDependencies.@patternfly/patternfly=${PATTERNFLY_VERSION} --workspace @patternfly/react-core --workspace @patternfly/react-styles --workspace @patternfly/react-tokens --workspace @patternfly/react-icons
# fi
if [[ ! -z "${PATTERNFLY_VERSION}" ]]; then
echo "Updating to @patternfly/patternfly: ${PATTERNFLY_VERSION}"
npm pkg set dependencies.@patternfly/patternfly=${PATTERNFLY_VERSION} --workspace @patternfly/react-docs
npm pkg set devDependencies.@patternfly/patternfly=${PATTERNFLY_VERSION} --workspace @patternfly/react-core --workspace @patternfly/react-styles --workspace @patternfly/react-tokens --workspace @patternfly/react-icons
fi

# publish to npm
yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes
Expand Down

0 comments on commit 952cafc

Please sign in to comment.