diff --git a/gulpfile.js b/gulpfile.js index fa9e916..3b232d6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -4,6 +4,7 @@ var gulp = require('gulp'); var concatCss = require('gulp-concat-css'); var cleanCSS = require('gulp-clean-css'); var exec = require('gulp-exec'); +var exec_ch = require('child_process').exec; /* Minify all base code, edit in place */ gulp.task('minify_base_code', function() { @@ -85,3 +86,17 @@ gulp.task('push', function() { .pipe(exec('git push')) .pipe(exec('sh scripts/uuids.sh add')) }); + + +gulp.task('patch', () => { + return exec_ch('npx ver patch -p css/common-files/color_variables.css'); +}); + +gulp.task('minor', () => { + return exec_ch('npx ver minor -p css/common-files/color_variables.css'); +}); + +gulp.task('major', () => { + return exec_ch('npx ver major -p css/common-files/color_variables.css'); +}); + diff --git a/package-lock.json b/package-lock.json index 98e7d29..9faa97b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3458,7 +3458,8 @@ }, "minimatch": { "version": "2.0.10", - "resolved": "", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz", + "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=", "requires": { "brace-expansion": "^1.0.0" } diff --git a/package.json b/package.json index 960492c..ea4e3d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shadowfox", - "version": "1.0.0", + "version": "1.5.0", "description": "a universal dark theme for firefox 57+", "main": "gulpfile.js", "dependencies": {