Skip to content

Commit

Permalink
Reset branch and prepare for 5.0.0 release successfully (#9412) [ci s…
Browse files Browse the repository at this point in the history
…kip]

* Revert "chore(release): releasing packages [ci skip]"

This reverts commit 145f8fa.

* Revert "chore(release): releasing packages [ci skip]"

This reverts commit 788b50e.

* Revert "chore(promote.yml): turn off dry run"

This reverts commit cbd6451.

* Revert "chore(release): releasing packages [ci skip]"

This reverts commit 424c4a4.

* chore(dryrun): enable dry run for preminor

* chore(package): ensure packages are published using dist-tag not package channel

* chore(deps): update dependencies
  • Loading branch information
dgutride authored Jul 27, 2023
1 parent 145f8fa commit 2316baa
Show file tree
Hide file tree
Showing 19 changed files with 42 additions and 202 deletions.
9 changes: 5 additions & 4 deletions .github/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc

if [[ ! -z "${CORE_VERSION}" ]]; then
echo "Updating to @patternfly/patternfly: ${CORE_VERSION}"
npm pkg set dependencies.@patternfly/patternfly=${CORE_VERSION} --workspace @patternfly/react-core --workspace @patternfly/react-docs --workspace @patternfly/react-icons --workspace @patternfly/react-tokens --workspace @patternfly/react-styles
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

# dry run
# yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push
yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push

# 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
16 changes: 0 additions & 16 deletions packages/eslint-plugin-patternfly-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.2.0-prerelease.0](https://github.com/patternfly/patternfly-react/compare/eslint-plugin-patternfly-react@[email protected]) (2023-07-27)

**Note:** Version bump only for package eslint-plugin-patternfly-react

# 5.1.0 (2023-07-27)

**Note:** Version bump only for package eslint-plugin-patternfly-react

# 5.1.0-prerelease.0 (2023-07-27)

**Note:** Version bump only for package eslint-plugin-patternfly-react

# 5.0.0 (2023-07-27)

**Note:** Version bump only for package eslint-plugin-patternfly-react

# 5.0.0-prerelease.2 (2023-06-13)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-patternfly-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-patternfly-react",
"version": "5.2.0-prerelease.0",
"version": "5.0.0-prerelease.2",
"private": false,
"main": "./lib/index.js",
"license": "MIT",
Expand Down
16 changes: 0 additions & 16 deletions packages/react-charts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.2.0-prerelease.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-27)

**Note:** Version bump only for package @patternfly/react-charts

# 7.1.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-charts

# 7.1.0-prerelease.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-charts

# 7.0.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-charts

# 7.0.0-prerelease.12 (2023-07-20)

**Note:** Version bump only for package @patternfly/react-charts
Expand Down
9 changes: 4 additions & 5 deletions packages/react-charts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-charts",
"version": "7.2.0-prerelease.0",
"version": "7.0.0-prerelease.12",
"description": "This library provides a set of React chart components for use with the PatternFly reference implementation.",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
Expand All @@ -11,8 +11,7 @@
"*.scss"
],
"publishConfig": {
"access": "public",
"tag": "alpha"
"access": "public"
},
"repository": {
"type": "git",
Expand All @@ -29,8 +28,8 @@
},
"homepage": "https://github.com/patternfly/patternfly-react#readme",
"dependencies": {
"@patternfly/react-styles": "^5.2.0-prerelease.0",
"@patternfly/react-tokens": "^5.2.0-prerelease.0",
"@patternfly/react-styles": "^5.0.0-prerelease.7",
"@patternfly/react-tokens": "^5.0.0-prerelease.9",
"hoist-non-react-statics": "^3.3.0",
"lodash": "^4.17.19",
"tslib": "^2.5.0",
Expand Down
16 changes: 0 additions & 16 deletions packages/react-code-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.2.0-prerelease.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-27)

**Note:** Version bump only for package @patternfly/react-code-editor

# 5.1.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-code-editor

# 5.1.0-prerelease.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-code-editor

# 5.0.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-code-editor

# [5.0.0-prerelease.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-26)

**Note:** Version bump only for package @patternfly/react-code-editor
Expand Down
11 changes: 5 additions & 6 deletions packages/react-code-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"name": "@patternfly/react-code-editor",
"version": "5.2.0-prerelease.0",
"version": "5.0.0-prerelease.27",
"description": "This package provides a PatternFly wrapper for the Monaco code editor\n",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"patternfly:src": "src/",
"sideEffects": false,
"publishConfig": {
"access": "public",
"tag": "alpha"
"access": "public"
},
"repository": {
"type": "git",
Expand All @@ -30,9 +29,9 @@
"clean": "rimraf dist"
},
"dependencies": {
"@patternfly/react-core": "^5.2.0-prerelease.0",
"@patternfly/react-icons": "^5.2.0-prerelease.0",
"@patternfly/react-styles": "^5.2.0-prerelease.0",
"@patternfly/react-core": "^5.0.0-prerelease.27",
"@patternfly/react-icons": "^5.0.0-prerelease.9",
"@patternfly/react-styles": "^5.0.0-prerelease.7",
"react-dropzone": "14.2.3",
"tslib": "^2.5.0"
},
Expand Down
16 changes: 0 additions & 16 deletions packages/react-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.2.0-prerelease.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-27)

**Note:** Version bump only for package @patternfly/react-core

# 5.1.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-core

# 5.1.0-prerelease.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-core

# 5.0.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-core

# [5.0.0-prerelease.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-26)

### Bug Fixes
Expand Down
12 changes: 5 additions & 7 deletions packages/react-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-core",
"version": "5.2.0-prerelease.0",
"version": "5.0.0-prerelease.27",
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
Expand All @@ -21,8 +21,7 @@
"*.scss"
],
"publishConfig": {
"access": "public",
"tag": "alpha"
"access": "public"
},
"repository": {
"type": "git",
Expand All @@ -46,10 +45,9 @@
"subpaths": "node ../../scripts/exportSubpaths.js --config subpaths.config.json"
},
"dependencies": {
"@patternfly/patternfly": "5.0.2",
"@patternfly/react-icons": "^5.2.0-prerelease.0",
"@patternfly/react-styles": "^5.2.0-prerelease.0",
"@patternfly/react-tokens": "^5.2.0-prerelease.0",
"@patternfly/react-icons": "^5.0.0-prerelease.9",
"@patternfly/react-styles": "^5.0.0-prerelease.7",
"@patternfly/react-tokens": "^5.0.0-prerelease.9",
"focus-trap": "7.4.3",
"react-dropzone": "^14.2.3",
"tslib": "^2.5.0"
Expand Down
16 changes: 0 additions & 16 deletions packages/react-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [6.2.0-prerelease.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-27)

**Note:** Version bump only for package @patternfly/react-docs

# 6.1.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-docs

# 6.1.0-prerelease.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-docs

# 6.0.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-docs

# [6.0.0-prerelease.30](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-26)

**Note:** Version bump only for package @patternfly/react-docs
Expand Down
18 changes: 9 additions & 9 deletions packages/react-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@patternfly/react-docs",
"description": "PatternFly React Docs",
"version": "6.2.0-prerelease.0",
"version": "6.0.0-prerelease.30",
"publishConfig": {
"access": "public",
"tag": "prerelease-v4"
Expand All @@ -23,14 +23,14 @@
"test:a11y": "patternfly-a11y --config patternfly-a11y.config"
},
"dependencies": {
"@patternfly/patternfly": "5.0.2",
"@patternfly/react-charts": "^7.2.0-prerelease.0",
"@patternfly/react-code-editor": "^5.2.0-prerelease.0",
"@patternfly/react-core": "^5.2.0-prerelease.0",
"@patternfly/react-icons": "^5.2.0-prerelease.0",
"@patternfly/react-styles": "^5.2.0-prerelease.0",
"@patternfly/react-table": "^5.2.0-prerelease.0",
"@patternfly/react-tokens": "^5.2.0-prerelease.0"
"@patternfly/patternfly": "5.0.0-prerelease.16",
"@patternfly/react-charts": "^7.0.0-prerelease.12",
"@patternfly/react-code-editor": "^5.0.0-prerelease.27",
"@patternfly/react-core": "^5.0.0-prerelease.27",
"@patternfly/react-icons": "^5.0.0-prerelease.9",
"@patternfly/react-styles": "^5.0.0-prerelease.7",
"@patternfly/react-table": "^5.0.0-prerelease.27",
"@patternfly/react-tokens": "^5.0.0-prerelease.9"
},
"devDependencies": {
"@patternfly/documentation-framework": "^5.0.13",
Expand Down
16 changes: 0 additions & 16 deletions packages/react-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.2.0-prerelease.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-27)

**Note:** Version bump only for package @patternfly/react-icons

# 5.1.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-icons

# 5.1.0-prerelease.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-icons

# 5.0.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-icons

# 5.0.0-prerelease.9 (2023-07-20)

**Note:** Version bump only for package @patternfly/react-icons
Expand Down
8 changes: 2 additions & 6 deletions packages/react-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "@patternfly/react-icons",
"version": "5.2.0-prerelease.0",
"version": "5.0.0-prerelease.9",
"description": "PatternFly 4 Icons as React Components",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"sideEffects": false,
"publishConfig": {
"access": "public",
"tag": "alpha"
"access": "public"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -43,8 +42,5 @@
"peerDependencies": {
"react": "^17 || ^18",
"react-dom": "^17 || ^18"
},
"dependencies": {
"@patternfly/patternfly": "5.0.2"
}
}
16 changes: 0 additions & 16 deletions packages/react-styles/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.2.0-prerelease.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-27)

**Note:** Version bump only for package @patternfly/react-styles

# 5.1.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-styles

# 5.1.0-prerelease.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-styles

# 5.0.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-styles

# 5.0.0-prerelease.7 (2023-07-20)

**Note:** Version bump only for package @patternfly/react-styles
Expand Down
10 changes: 3 additions & 7 deletions packages/react-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-styles",
"version": "5.2.0-prerelease.0",
"version": "5.0.0-prerelease.7",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
Expand All @@ -11,8 +11,7 @@
"description": "CSS-in-JS class maps and utilities for PatternFly.",
"author": "Red Hat",
"publishConfig": {
"access": "public",
"tag": "alpha"
"access": "public"
},
"scripts": {
"generate": "rimraf css && node scripts/writeClassMaps.js && node scripts/copyStyles.js",
Expand All @@ -28,8 +27,5 @@
"rimraf": "^2.6.2",
"typescript": "^4.7.4"
},
"license": "MIT",
"dependencies": {
"@patternfly/patternfly": "5.0.2"
}
"license": "MIT"
}
16 changes: 0 additions & 16 deletions packages/react-table/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.2.0-prerelease.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-27)

**Note:** Version bump only for package @patternfly/react-table

# 5.1.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-table

# 5.1.0-prerelease.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-table

# 5.0.0 (2023-07-27)

**Note:** Version bump only for package @patternfly/react-table

# [5.0.0-prerelease.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected]) (2023-07-26)

**Note:** Version bump only for package @patternfly/react-table
Expand Down
Loading

0 comments on commit 2316baa

Please sign in to comment.