Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit bed0e17

Browse files
committed
bumped version to 0.0.3
1 parent 12f3264 commit bed0e17

6 files changed

+20
-7
lines changed

dist/daterangepicker.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* knockout-daterangepicker
3-
* version: 0.0.1
3+
* version: 0.0.3
44
* authors: Sensor Tower team
55
* license: MIT
66
* https://sensortower.github.io/daterangepicker

dist/daterangepicker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* knockout-daterangepicker
3-
* version: 0.0.1
3+
* version: 0.0.3
44
* authors: Sensor Tower team
55
* license: MIT
66
* https://sensortower.github.io/daterangepicker

dist/daterangepicker.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/daterangepicker.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.babel.js

+14-2
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,21 @@ gulp.task('github:pages', ['build:website'], () => {
168168
.pipe($.ghPages());
169169
});
170170

171-
gulp.task('github:release', ['build:min'], () => {
171+
gulp.task('consistency-check', ['build:min'], (cb) => {
172+
const exec = require('child_process').exec;
173+
exec('git status', function callback(error, stdout, stderr) {
174+
const pendingChanges = stdout.match(/modified:\s*dist/)
175+
if (pendingChanges) {
176+
throw new Error('consistency check failed');
177+
} else {
178+
cb();
179+
}
180+
});
181+
});
182+
183+
gulp.task('github:release', ['consistency-check'], () => {
172184
if (!process.env.GITHUB_TOKEN) {
173-
throw "env.GITHUB_TOKEN is empty";
185+
throw new Error('env.GITHUB_TOKEN is empty');
174186
}
175187

176188
const manifest = require('./package.json');

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "knockout-daterangepicker",
3-
"version": "0.0.1",
3+
"version": "0.0.3",
44
"private": true,
55
"engines": {
66
"node": ">=0.12.0"
@@ -11,6 +11,7 @@
1111
"del": "^1.1.1",
1212
"gulp": "^3.9.0",
1313
"gulp-autoprefixer": "^2.3.1",
14+
"gulp-bump": "^1.0.0",
1415
"gulp-cache": "^0.2.8",
1516
"gulp-coffee": "^2.3.1",
1617
"gulp-ext-replace": "^0.2.0",

0 commit comments

Comments
 (0)