mirror of
https://github.com/videojs/video.js.git
synced 2024-12-14 11:23:30 +02:00
Merge branch 'stable'
This commit is contained in:
commit
bcf164fd99
13
Gruntfile.js
13
Gruntfile.js
@ -6,12 +6,6 @@ module.exports = function(grunt) {
|
||||
uglify = require('uglify-js');
|
||||
exec = require('child_process').exec;
|
||||
|
||||
try {
|
||||
s3 = grunt.file.readJSON('.s3config.json');
|
||||
} catch(e) {
|
||||
s3 = {};
|
||||
}
|
||||
|
||||
verParts = pkg.version.split('.');
|
||||
version = {
|
||||
full: pkg.version,
|
||||
@ -92,7 +86,12 @@ module.exports = function(grunt) {
|
||||
}
|
||||
},
|
||||
s3: {
|
||||
options: s3,
|
||||
options: {
|
||||
key: process.env.VJS_S3_KEY,
|
||||
secret: process.env.VJS_S3_SECRET,
|
||||
bucket: process.env.VJS_S3_BUCKET,
|
||||
access: 'public-read'
|
||||
},
|
||||
minor: {
|
||||
upload: [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user