1
0
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:
Steve Heffernan 2014-02-18 15:40:56 -08:00
parent ee9a18d5ac
commit 1e781d14df
2 changed files with 14 additions and 1 deletions

View File

@ -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');

View File

@ -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"