Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 7ab880d

Browse files
author
James Kleeh
committed
Release 1.2.2
1 parent 780c7c1 commit 7ab880d

File tree

5 files changed

+14
-49
lines changed

5 files changed

+14
-49
lines changed

angular-confirm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* angular-confirm
33
* https://github.com/Schlogen/angular-confirm
4-
* @version v1.2.1 - 2015-11-18
4+
* @version v1.2.2 - 2015-12-08
55
* @license Apache
66
*/
77
(function (root, factory) {

angular-confirm.min.js

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-confirm-modal",
33
"main": "angular-confirm.min.js",
4-
"version": "1.2.1",
4+
"version": "1.2.2",
55
"homepage": "https://github.com/Schlogen/angular-confirm",
66
"authors": [
77
"James Kleeh"

gulpfile.js

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -26,48 +26,4 @@ gulp.task('bump-json', function (done) {
2626
return gulp.src(['./package.json', './bower.json'])
2727
.pipe(bump())
2828
.pipe(gulp.dest('./'));
29-
});
30-
31-
gulp.task('bump', ['bump-json'], function() {
32-
var pkg = require('./package.json');
33-
var banner = ['/*',
34-
' * <%= pkg.name %>',
35-
' * <%= pkg.homepage %>',
36-
' * @version v<%= pkg.version %> - <%= today %>',
37-
' * @license <%= pkg.license %>',
38-
' */',
39-
''].join('\n');
40-
41-
function pad(val) {
42-
val = String(val);
43-
var len = 2;
44-
while (val.length < len) val = "0" + val;
45-
return val;
46-
}
47-
48-
var date = new Date();
49-
var day = date.getDate();
50-
var monthIndex = date.getMonth();
51-
var year = date.getFullYear();
52-
53-
return gulp.src('./angular-confirm.js')
54-
.pipe(header(banner, { pkg : pkg, today: (year + '-' + pad(monthIndex+1) + '-' + pad(day)) } ))
55-
.pipe(gulp.dest('./'));
56-
});
57-
58-
gulp.task('tag', ['bump'], function () {
59-
var pkg = require('./package.json');
60-
var v = 'v' + pkg.version;
61-
var message = 'Release ' + v;
62-
63-
return gulp.src('./')
64-
.pipe(git.commit(message))
65-
.pipe(git.tag(v, message))
66-
.pipe(git.push('origin', 'master', '--tags'))
67-
.pipe(gulp.dest('./'));
68-
});
69-
70-
gulp.task('npm', ['tag'], function (done) {
71-
require('child_process').spawn('npm', ['publish'], { stdio: 'inherit' })
72-
.on('close', done);
7329
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-confirm",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "Angular Confirm Modal",
55
"main": "angular-confirm.min.js",
66
"scripts": {

0 commit comments

Comments
 (0)