Skip to content

Commit

Permalink
chore: prep repo for 5.3 development [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen authored Feb 2, 2024
1 parent fc901ee commit cdfcf33
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ 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 "${CORE_VERSION}" ]]; then
echo "Updating to @patternfly/patternfly: ${CORE_VERSION}"
npm pkg set dependencies.@patternfly/patternfly=${CORE_VERSION} --workspace @patternfly/react-docs
npm pkg set devDependencies.@patternfly/patternfly=${CORE_VERSION} --workspace @patternfly/react-core --workspace @patternfly/react-styles --workspace @patternfly/react-tokens --workspace @patternfly/react-icons
fi
# if [[ ! -z "${CORE_VERSION}" ]]; then
# echo "Updating to @patternfly/patternfly: ${CORE_VERSION}"
# npm pkg set dependencies.@patternfly/patternfly=${CORE_VERSION} --workspace @patternfly/react-docs
# npm pkg set devDependencies.@patternfly/patternfly=${CORE_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
# 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
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
Expand Down

0 comments on commit cdfcf33

Please sign in to comment.