Skip to content

Commit

Permalink
Version 4.0.3 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
benbaran committed Dec 18, 2018
1 parent ac1b3da commit bf012c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ gulp.task('copy', function (done) {

// 5. rewrite type definition file path for adal-angular in adal.service.d.ts
gulp.task('replace', function (done) {
gulp.src('./dist/adal.service.d.ts', { allowEmpty: true })
gulp.src('./dist/adal.service.d.ts')
.pipe(replace('../adal-angular.d.ts', './adal-angular.d.ts'))
.pipe(gulp.dest('./dist/'));

Expand Down Expand Up @@ -110,17 +110,18 @@ gulp.task('publish', gulp.series(
'clean',
'compile',
'package',
'copy',
'replace',
'bump',
'git-add',
'git-commit',
'git-push'
], function (done) {
//exec('npm publish ./dist', function (err, stdout, stderr) {
// console.log(stdout);
// console.log(stderr);
// cb(err);
//});
exec('npm publish ./dist', function (err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
cb(err);
});
done();
}));

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adal-angular4",
"version": "4.0.1",
"version": "4.0.3",
"description": "Angular 4+ ADAL Wrapper",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit bf012c4

Please sign in to comment.