1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-31 03:11:11 +02:00

Merge branch 'stable'

Conflicts:
	dist/video-js/video-js.css
	dist/video-js/video-js.min.css
	dist/video-js/video.js
This commit is contained in:
Steve Heffernan 2014-04-12 14:05:13 -07:00
commit 2473d5bf7a
6 changed files with 35 additions and 13 deletions

View File

@ -9,6 +9,9 @@ CHANGELOG
-------------------- --------------------
## 4.5.2 (2014-04-12)
* Updated release versioning to include bower.json and component.json
## 4.5.1 (2014-03-27) ## 4.5.1 (2014-03-27)
* Fixed a bug from the last release where canPlaySource was no longer exported * Fixed a bug from the last release where canPlaySource was no longer exported

View File

@ -179,9 +179,28 @@ module.exports = function(grunt) {
} }
} }
}, },
bump: { version: {
files: ['package.json'], options: {
updateConfigs: ['pkg'] pkg: 'package.json'
},
major: {
options: {
release: 'major'
},
src: ['package.json', 'bower.json', 'component.json']
},
minor: {
options: {
release: 'minor'
},
src: ['package.json', 'bower.json', 'component.json']
},
patch: {
options: {
release: 'patch'
},
src: ['package.json', 'bower.json', 'component.json']
}
}, },
tagrelease: { tagrelease: {
file: 'package.json', file: 'package.json',
@ -205,7 +224,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('videojs-doc-generator'); grunt.loadNpmTasks('videojs-doc-generator');
grunt.loadNpmTasks('grunt-zip'); grunt.loadNpmTasks('grunt-zip');
grunt.loadNpmTasks('grunt-banner'); grunt.loadNpmTasks('grunt-banner');
grunt.loadNpmTasks('grunt-bump'); grunt.loadNpmTasks('grunt-version');
grunt.loadNpmTasks('grunt-tagrelease'); grunt.loadNpmTasks('grunt-tagrelease');
grunt.loadNpmTasks('chg'); grunt.loadNpmTasks('chg');

View File

@ -1,7 +1,7 @@
{ {
"name": "video.js", "name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.", "description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.4.3", "version": "4.5.2",
"main": [ "main": [
"dist/video-js/video.js", "dist/video-js/video.js",
"dist/video-js/video-js.css" "dist/video-js/video-js.css"

View File

@ -1,7 +1,7 @@
{ {
"name": "video.js", "name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.", "description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.4.2", "version": "4.5.2",
"keywords": [ "keywords": [
"videojs", "videojs",
"html5", "html5",

View File

@ -278,8 +278,8 @@
"exec": "grunt chg-release:<%= type %>" "exec": "grunt chg-release:<%= type %>"
}, },
{ {
"desc": "Bump the package version", "desc": "Bump package versions",
"exec": "grunt bump-only:<%= type %>" "exec": "grunt version:<%= type %>"
}, },
{ {
"desc": "Build the release", "desc": "Build the release",

View File

@ -1,7 +1,7 @@
{ {
"name": "video.js", "name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.", "description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.5.1", "version": "4.5.2",
"copyright": "Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE", "copyright": "Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE",
"keywords": [ "keywords": [
"videojs", "videojs",
@ -54,9 +54,9 @@
"grunt-zip": "0.10.2", "grunt-zip": "0.10.2",
"grunt-banner": "~0.2.0", "grunt-banner": "~0.2.0",
"chg": "~0.1.8", "chg": "~0.1.8",
"grunt-bump": "0.0.13",
"grunt-tagrelease": "~0.3.3", "grunt-tagrelease": "~0.3.3",
"github": "~0.1.14", "github": "~0.1.14",
"open": "0.0.4" "open": "0.0.4",
"grunt-version": "~0.3.0"
} }
} }