Skip to content

Commit

Permalink
chore: Turned on dry run and removed duplicate build commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
Donald Labaj committed Sep 9, 2024
1 parent 0d8ae29 commit f616161
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ LOG=$(git log --format="%s" -1 | grep -Poe "#\d+")
PR_NUM=${LOG:1}

# for running a dry run
# yarn run lerna version --conventional-commits --no-private --yes --no-git-tag-version --no-push
yarn run lerna version --conventional-commits ----no-private --yes --no-git-tag-version --no-push

# for publishing
yarn run lerna publish --conventional-commits --create-release=github --no-verify-access --no-private --yes 2>&1 | tee lerna-output.txt
# yarn run lerna publish --conventional-commits --create-release=github --no-verify-access --no-private --yes 2>&1 | tee lerna-output.txt

if grep -i "Successfully published" lerna-output.txt; # Leave a Github comment
then
Expand Down
20 changes: 8 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,17 @@
"license": "MIT",
"scripts": {
"analyze": "yarn workspace patternfly-org analyze",
"develop": "yarn develop:v5",
"develop:v5": "yarn workspace patternfly-org develop",
"develop:extensions": "EXTENSIONS_ONLY=true PRERELEASE=true yarn develop:v5",
"build": "yarn build:v5",
"build:analyze": "yarn workspace patternfly-org build:analyze && yarn copy:v5",
"build:v4": "yarn build:v5",
"build:v5": "yarn workspace patternfly-org build && yarn copy:v5",
"build:extensions": "EXTENSIONS_ONLY=true PRERELEASE=true yarn build:v5",
"copy:v5": "rm -rf build/patternfly-org/site && mkdir -p build/patternfly-org && cp -r packages/documentation-site/public build/patternfly-org/site",
"develop": "yarn workspace patternfly-org develop",
"develop:extensions": "EXTENSIONS_ONLY=true PRERELEASE=true yarn develop",
"build:analyze": "yarn workspace patternfly-org build:analyze && yarn copy",
"build": "yarn workspace patternfly-org build && yarn copy",
"build:extensions": "EXTENSIONS_ONLY=true PRERELEASE=true yarn build",
"copy": "rm -rf build/patternfly-org/site && mkdir -p build/patternfly-org && cp -r packages/documentation-site/public build/patternfly-org/site",
"clean": "lerna run clean && rm -rf build",
"serve": "pf-docs-framework serve build/patternfly-org/site",
"test:v5": "yarn workspace patternfly-org test:a11y:ci",
"test": "yarn workspace patternfly-org test:a11y:ci",
"screenshots": "node node_modules/puppeteer/install.js && yarn workspace patternfly-org screenshots",
"start": "yarn start:v5",
"start:v5": "yarn develop:v5",
"start": "yarn develop",
"start:extensions": "yarn develop:extensions",
"uninstall": "find . -name node_modules | xargs rm -rf",
"workflows": "node .github/generate-workflows",
Expand Down

0 comments on commit f616161

Please sign in to comment.