Created
April 17, 2018 21:34
-
-
Save acdvorak/835a2f5f9535476def454a501bd6a117 to your computer and use it in GitHub Desktop.
Git patch for testing https://github.com/material-components/material-components-web/pull/2563/commits/b84aa118a4a23d52b4093a3c1d12be00908e6fe0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package.json b/package.json | |
index 34d1f3ecc..1f700e74a 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -20,7 +20,7 @@ | |
"lint": "npm-run-all --parallel lint:*", | |
"postinstall": "lerna bootstrap", | |
"pretest": "npm run lint", | |
- "test": "npm run test:unit && npm run test:closure && npm run test:dependency && npm run build && npm run clean", | |
+ "test": "echo TEST", | |
"posttest": "istanbul report --root coverage text-summary && istanbul check-coverage --lines 95 --statements 95 --branches 95 --functions 95", | |
"screenshot:serve": "node test/screenshot/run-static-server.js", | |
"screenshot:upload-assets": "node test/screenshot/run-upload-assets.js", | |
diff --git a/scripts/post-release.sh b/scripts/post-release.sh | |
index d41ecbfa8..980142f78 100755 | |
--- a/scripts/post-release.sh | |
+++ b/scripts/post-release.sh | |
@@ -31,25 +31,25 @@ PACKAGE_DIRS=$(git status --porcelain=v1 packages/*/package.json | sed 's/^ M // | |
function npm_publish() { | |
log "Publishing $1..." | |
- npm publish "$1" --tag $SEMVER_TAG | |
+ echo npm publish "$1" --tag $SEMVER_TAG | |
} | |
log "Committing new package versions..." | |
-git add lerna.json packages/*/package.json | |
-git commit -m "chore: Publish" | |
+echo git add lerna.json packages/*/package.json | |
+echo git commit -m "chore: Publish" | |
echo | |
log "Committing changelog..." | |
-git add CHANGELOG.md | |
-git commit -m "docs: Update CHANGELOG.md" | |
+echo git add CHANGELOG.md | |
+echo git commit -m "docs: Update CHANGELOG.md" | |
echo | |
log "Tagging repo using semver tag $SEMVER_TAG..." | |
-git tag $SEMVER_TAG -m "Material Components for the Web release $SEMVER_TAG" | |
+echo git tag $SEMVER_TAG -m "Material Components for the Web release $SEMVER_TAG" | |
echo | |
log "Pushing commits to GitHub..." | |
-git push && git push --tags | |
+echo git push && echo git push --tags | |
echo | |
log "Publishing to NPM..." | |
@@ -59,7 +59,7 @@ echo "$PACKAGE_DIRS" | xargs -I '{}' /bin/sh -c 'npm_publish "$@"' _ '{}' | |
echo | |
log "Deploying catalog server..." | |
-MDC_ENV=development npm run build:demos && gcloud app deploy | |
+MDC_ENV=development echo npm run build:demos && echo gcloud app deploy | |
echo | |
log "Post-release steps done! $SEMVER_TAG has been published to NPM, GitHub, and the catalog server" | |
diff --git a/scripts/pre-release.sh b/scripts/pre-release.sh | |
index 31c45d7ac..11825468f 100755 | |
--- a/scripts/pre-release.sh | |
+++ b/scripts/pre-release.sh | |
@@ -34,8 +34,8 @@ function prompt() { | |
log "Running pre-flight sanity checks..." | |
log "Checking out 'master' and pulling latest commits from GitHub..." | |
-git checkout master | |
-git pull --tags | |
+echo git checkout master | |
+echo git pull --tags | |
LOCAL_CHANGE_COUNT=$(git status --porcelain=v1 | wc -l) | |
if [[ $LOCAL_CHANGE_COUNT -gt 0 ]]; then | |
git status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment