From f616161415de3db329bc3e9980d770950e071285 Mon Sep 17 00:00:00 2001 From: Donald Labaj Date: Mon, 9 Sep 2024 14:55:04 -0400 Subject: [PATCH] chore: Turned on dry run and removed duplicate build commands. --- .github/release.sh | 4 ++-- package.json | 20 ++++++++------------ 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/release.sh b/.github/release.sh index eb4cea0ce2..a5983b01cb 100755 --- a/.github/release.sh +++ b/.github/release.sh @@ -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 diff --git a/package.json b/package.json index 560350dece..d899a18241 100644 --- a/package.json +++ b/package.json @@ -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",