[Pkg-javascript-commits] [pdf.js] 84/174: Pushing update reason for gh-pages and bower.
David Prévot
taffit at moszumanska.debian.org
Thu Nov 19 18:45:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 2b5fde1259027d7960c5d4e6339eeeb578e7e1c0
Author: Yury Delendik <ydelendik at mozilla.com>
Date: Fri Oct 23 10:56:40 2015 -0500
Pushing update reason for gh-pages and bower.
e.g. mozilla/pdf.js at eabbfd78d1fd2301c1bf5ac10bd76a5829150574
---
make.js | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/make.js b/make.js
index ec944f3..a2b74be 100644
--- a/make.js
+++ b/make.js
@@ -265,11 +265,13 @@ target.web = function() {
GH_PAGES_DIR + '/getting_started/index.html');
echo('Done building with wintersmith.');
+ var reason = process.env['PDFJS_UPDATE_REASON'];
cd(GH_PAGES_DIR);
exec('git init');
exec('git remote add origin ' + REPO);
exec('git add -A');
- exec('git commit -am "gh-pages site created via make.js script"');
+ exec('git commit -am "gh-pages site created via make.js script" -m ' +
+ '"PDF.js version ' + VERSION + (reason ? ' - ' + reason : '') + '"');
exec('git branch -m gh-pages');
echo();
@@ -354,7 +356,8 @@ target.dist = function() {
echo('### Commiting changes');
cd(DIST_DIR);
- var message = 'PDF.js version ' + VERSION;
+ var reason = process.env['PDFJS_UPDATE_REASON'];
+ var message = 'PDF.js version ' + VERSION + (reason ? ' - ' + reason : '');
exec('git add *');
exec('git commit -am \"' + message + '\"');
exec('git tag -a v' + VERSION + ' -m \"' + message + '\"');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list