Skip to content

Commit

Permalink
chore(setup-branch): Setting up patch branch for 5.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabaj committed Apr 19, 2024
1 parent 87cf08d commit 9225f79
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ echo "Doing a release..."
LOG=$(git log --format="%s" -1 | grep -Poe "#\d+")
PR_NUM=${LOG:1}

yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt
# yarn run lerna publish patch --dist-tag=prerelease-patch --no-private --yes 2>&1 | tee lerna-output.txt

# use lerna command below for dry run
# yarn run lerna version prerelease --preid=prerelease --yes --no-git-tag-version --no-push | tee lerna-output.txt
yarn run lerna version patch --yes --no-git-tag-version --no-push --no-private | tee lerna-output.txt


if grep -i "Successfully published" lerna-output.txt; # Leave a Github comment
then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release
on:
push:
branches:
- main
- 5.3.x
jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
},
"version": "independent",
"allowBranch": ["main", "v4", "5.0.x"],
"allowBranch": ["main", "v4", "5.3.x"],
"packages": ["packages/*", "packages/react-integration/demo-app-ts"],
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
}
4 changes: 2 additions & 2 deletions packages/react-integration/demo-app-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "demo-app-ts",
"private": true,
"version": "5.1.1-prerelease.100",
"version": "5.3.0",
"scripts": {
"build:demo-app": "webpack --mode production",
"start:demo-app": "webpack-dev-server",
"start:demo-app:hot": "webpack-dev-server --hot=true",
"serve:demo-app": "node scripts/serve"
},
"dependencies": {
"@patternfly/react-core": "^5.3.0-prerelease.26",
"@patternfly/react-core": "^5.3.0",
"react": "^18",
"react-dom": "^18",
"react-router": "^5.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-integration",
"version": "5.1.1-prerelease.22",
"version": "5.3.0",
"private": true,
"description": "Integration testing for PF5 using demo applications",
"main": "lib/index.js",
Expand Down

0 comments on commit 9225f79

Please sign in to comment.