mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
Change to the Apache v2 license.
This commit is contained in:
parent
11a341b127
commit
332ae4ce41
43 changed files with 761 additions and 35 deletions
10
make.js
10
make.js
|
@ -275,8 +275,8 @@ target.pagesrepo = function() {
|
|||
// Extension stuff
|
||||
//
|
||||
|
||||
var EXTENSION_BASE_VERSION = 'fad38f8286acc0a23b10cc95dda800530adaf160',
|
||||
EXTENSION_VERSION_PREFIX = '0.4.',
|
||||
var EXTENSION_BASE_VERSION = '11a341b1277be3a882274cb9f94295af310c6b62',
|
||||
EXTENSION_VERSION_PREFIX = '0.5.',
|
||||
EXTENSION_BUILD_NUMBER,
|
||||
EXTENSION_VERSION;
|
||||
|
||||
|
@ -298,10 +298,10 @@ target.buildnumber = function() {
|
|||
echo();
|
||||
echo('### Getting extension build number');
|
||||
|
||||
var lines = exec('git log --format=oneline ' +
|
||||
EXTENSION_BASE_VERSION + '..', {silent: true}).output;
|
||||
// Build number is the number of commits since base version
|
||||
EXTENSION_BUILD_NUMBER = exec('git log --format=oneline ' +
|
||||
EXTENSION_BASE_VERSION + '..', {silent: true})
|
||||
.output.match(/\n/g).length; // get # of lines in git output
|
||||
EXTENSION_BUILD_NUMBER = lines ? lines.match(/\n/g).length : 0;
|
||||
|
||||
echo('Extension build number: ' + EXTENSION_BUILD_NUMBER);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue