mirror of
https://github.com/videojs/video.js.git
synced 2024-11-28 08:58:46 +02:00
Updated the release process to remove dist files after the release
This commit is contained in:
parent
ee9a18d5ac
commit
1e781d14df
@ -323,6 +323,11 @@ module.exports = function(grunt) {
|
||||
}
|
||||
});
|
||||
|
||||
// ds_store files sometime find their way in
|
||||
if (grunt.file.exists('dist/video-js/.DS_Store')) {
|
||||
grunt.file['delete']('dist/video-js/.DS_Store');
|
||||
}
|
||||
|
||||
// CDN version uses already hosted font files
|
||||
// Minified version only, doesn't need demo files
|
||||
grunt.file.copy('build/files/minified.video.js', 'dist/cdn/video.js');
|
||||
|
10
contrib.json
10
contrib.json
@ -64,7 +64,7 @@
|
||||
"exec": "grunt dist"
|
||||
},
|
||||
{
|
||||
"desc": "Add the release files",
|
||||
"desc": "Add the (otherwise ignored) release files",
|
||||
"exec": "git add dist/video-js --force"
|
||||
},
|
||||
{
|
||||
@ -95,6 +95,14 @@
|
||||
"desc": "Checkout the development branch (master) and merge changes",
|
||||
"exec": "git checkout master && git merge stable"
|
||||
},
|
||||
{
|
||||
"desc": "Remove built dist files to re-ignore them",
|
||||
"exec": "grunt clean:dist"
|
||||
},
|
||||
{
|
||||
"desc": "Commit the removed dist files",
|
||||
"exec": "git add -u && git commit -m 'Removed dist files'"
|
||||
},
|
||||
{
|
||||
"desc": "Push development branch changes",
|
||||
"exec": "git push origin master"
|
||||
|
Loading…
Reference in New Issue
Block a user