Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: third_party/pkg/angular/scripts/travis/publish-docs.sh

Issue 256553002: Revert "Update all Angular libs (run update_all.sh)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/scripts/travis/publish-docs.sh
diff --git a/third_party/pkg/angular/scripts/travis/publish-docs.sh b/third_party/pkg/angular/scripts/travis/publish-docs.sh
deleted file mode 100755
index 6bbb3e9df2f9b4e28083fd250c9911062f5c54c1..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/scripts/travis/publish-docs.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-CHANNEL=`echo $JOB | cut -f 2 -d -`
-SHA=`git rev-parse HEAD`
-
-echo '==================='
-echo '== DOCS: publish =='
-echo '==================='
-echo Current channel is: $CHANNEL
-echo Current branch is: $TRAVIS_BRANCH
-echo Test result is: $TRAVIS_TEST_RESULT
-
-if [ "$CHANNEL" = "dev" ] && [ "$TRAVIS_REPO_SLUG" = "angular/angular.dart" ]; then
- if [ $TRAVIS_TEST_RESULT -eq 0 ] && [ "$TRAVIS_BRANCH" = "master" ]; then
- echo "Gettting current docs from docs.angulardart.org repo on Github"
- rm -Rf docs.angulardart.org
- git clone https://github.com/angular/docs.angulardart.org.git
-
- echo "Removing old stable docs..."
- rm -rf docs.angulardart.org/docs
-
- echo "Copying new docs into stable folder..."
- rsync -a dartdoc-viewer/client/build/web/* docs.angulardart.org/
- cd docs.angulardart.org/
-
- #.git folder needs to be in the *project* root
- git config credential.helper "store --file=.git/credentials"
- # travis encrypt GITHUB_TOKEN_ANGULAR_ORG=??? --repo=angular/angular.dart
- echo "https://${GITHUB_TOKEN_ANGULAR_ORG}:@github.com" > .git/credentials
- git config user.name "travis@travis-ci.org"
-
- echo "Adding files..."
- git add .
- git commit -m "Automated push of generated docs from SHA: https://github.com/angular/angular.dart/commit/$SHA"
- git push
- fi
-fi
-
-
« no previous file with comments | « third_party/pkg/angular/scripts/travis/presubmit.sh ('k') | third_party/pkg/angular/scripts/travis/setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698