git-update-ghpages
Advanced tools
+6
-0
@@ -0,1 +1,6 @@ | ||
| ## [v1.3.0] | ||
| > Nov 4, 2015 | ||
| * Add the `--keep` option to keep existing files intact | ||
| ## [v1.2.0] | ||
@@ -32,1 +37,2 @@ > Oct 12, 2015 | ||
| [v1.2.0]: https://github.com/rstacruz/git-update-ghpages/compare/v1.1.1...v1.2.0 | ||
| [v1.3.0]: https://github.com/rstacruz/git-update-ghpages/compare/v1.2.0...v1.3.0 |
+6
-6
@@ -15,3 +15,3 @@ test: \ | ||
| test-basic: | ||
| ./git-update-ghpages -n user/repo . > .output | ||
| env GITHUB_TOKEN='' ./git-update-ghpages -n user/repo . > .output | ||
| grep "rm -rf" .output >/dev/null | ||
@@ -25,3 +25,3 @@ grep ">/dev/null && tar c .) | tar xv" .output >/dev/null | ||
| test-force: | ||
| ./git-update-ghpages -n -f user/repo . > .output | ||
| env GITHUB_TOKEN='' ./git-update-ghpages -n -f user/repo . > .output | ||
| grep "rm -rf" .output >/dev/null | ||
@@ -34,3 +34,3 @@ grep "git add" .output >/dev/null | ||
| test-author: | ||
| ./git-update-ghpages -n -a "Xyzxyz" user/repo . > .output | ||
| env GITHUB_TOKEN='' ./git-update-ghpages -n -a "Xyzxyz" user/repo . > .output | ||
| grep "author Xyzxyz" .output >/dev/null | ||
@@ -46,3 +46,3 @@ rm .output | ||
| test-repo: | ||
| env GITHUB_REPO='xyz/abc' GIT_SOURCE='.' ./git-update-ghpages -n -e > .output | ||
| env GITHUB_TOKEN='' GITHUB_REPO='xyz/abc' GIT_SOURCE='.' ./git-update-ghpages -n -e > .output | ||
| grep "git push https://github.com/xyz/abc.git" .output >/dev/null | ||
@@ -52,3 +52,3 @@ rm .output | ||
| test-branch: | ||
| ./git-update-ghpages -n -b gh-pages-custom user/repo . > .output | ||
| env GITHUB_TOKEN='' ./git-update-ghpages -n -b gh-pages-custom user/repo . > .output | ||
| grep "git clone https://github.com/user/repo.git . -b gh-pages-custom" .output >/dev/null | ||
@@ -59,5 +59,5 @@ grep "git push https://github.com/user/repo.git gh-pages-custom" .output >/dev/null | ||
| test-branch-env: | ||
| env GIT_BRANCH=gh-pages-custom ./git-update-ghpages -e -n user/repo . > .output | ||
| env GITHUB_TOKEN='' GIT_BRANCH=gh-pages-custom ./git-update-ghpages -e -n user/repo . > .output | ||
| grep "git clone https://github.com/user/repo.git . -b gh-pages-custom" .output >/dev/null | ||
| grep "git push https://github.com/user/repo.git gh-pages-custom" .output >/dev/null | ||
| rm .output |
+1
-1
| { | ||
| "name": "git-update-ghpages", | ||
| "description": "Update GitHub pages from the command line", | ||
| "version": "1.2.0", | ||
| "version": "1.3.0", | ||
| "author": "Rico Sta. Cruz <rico@ricostacruz.com>", | ||
@@ -6,0 +6,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
143825
0.29%