Skip to content

Commit 6801123

Browse files
committed
minor feature: also adds the commit subject and body, when executed on Travis CI
v0.5.2
1 parent a13cb66 commit 6801123

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Brought to you by the [angular.schule](https://angular.schule/) team!
1515
## About
1616

1717
This command is similar to the old `github-pages:deploy` command of @angular/cli which was removed in [#4385](https://github.com/angular/angular-cli/pull/4385).
18-
The [angular-cli-ghpages](https://github.com/angular-buch/angular-cli-ghpages) command is able to push to any branch on any repository. It's made on top of [tschaub/gh-pages](https://github.com/tschaub/gh-pages).
18+
The [angular-cli-ghpages](https://github.com/angular-schule/angular-cli-ghpages) command is able to push to any branch on any repository. It's made on top of [tschaub/gh-pages](https://github.com/tschaub/gh-pages).
1919
**This script works great on [Travis-CI](https://travis-ci.org/).** No git credentials must be set up in before. Specific environment variables of Travis-CI are evaluated, too. You will like it!
2020

2121
## Changelog

Diff for: index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ exports.run = function (options) {
2525
var dir = path.join(process.cwd(), options.dir);
2626

2727
if (process.env.TRAVIS) {
28-
options.message += '\n\n' +
28+
options.message += ' -- ' + process.env.TRAVIS_COMMIT_MESSAGE + ' \n\n' +
2929
'Triggered by commit: https://github.com/' + process.env.TRAVIS_REPO_SLUG + '/commit/' + process.env.TRAVIS_COMMIT + '\n' +
3030
'Travis build: https://travis-ci.org/' + process.env.TRAVIS_REPO_SLUG + '/builds/' + process.env.TRAVIS_BUILD_ID;
3131
}

Diff for: package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"name": "angular-cli-ghpages",
3-
"version": "0.5.1",
4-
"description": "Wrapper around gh-pages, made for angular-cli users. Publish to any gh-pages branch on GitHub (or any other branch on any other remote).",
3+
"version": "0.5.2",
4+
"description": "Publish to any gh-pages branch on GitHub (or any other branch on any other remote). Made for angular-cli users.",
55
"main": "index.js",
66
"bin": {
77
"angular-cli-ghpages": "bin/angular-cli-ghpages",
88
"ngh": "bin/angular-cli-ghpages"
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "git+https://github.com/angular-buch/angular-cli-ghpages.git"
12+
"url": "git+https://github.com/angular-schule/angular-cli-ghpages.git"
1313
},
1414
"bugs": {
15-
"url": "https://github.com/angular-buch/angular-cli-ghpages/issues"
15+
"url": "https://github.com/angular-schule/angular-cli-ghpages/issues"
1616
},
1717
"author": {
18-
"name": "Angular-Buch Team",
19-
"email": "team@angular-buch.com"
18+
"name": "Angular.Schule Team",
19+
"email": "team@angular.schule"
2020
},
2121
"license": "MIT",
2222
"dependencies": {
@@ -25,5 +25,5 @@
2525
"commander": "2.9.0",
2626
"fs-extra": "3.0.1"
2727
},
28-
"keywords": ["angular", "angular2", "angular-cli", "git", "github pages", "gh-pages", "ghpages", "angular-cli-ghpages", "angular-cli-github-pages"]
28+
"keywords": ["angular", "angular-cli", "git", "github pages", "gh-pages", "ghpages", "angular-cli-ghpages", "angular-cli-github-pages"]
2929
}

0 commit comments

Comments
 (0)