Skip to content

Commit

Permalink
Update publishing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
eKoopmans committed Feb 19, 2020
1 parent f6ac182 commit ac9dce2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ gulp.task('release', gulp.series('bump-version', function release() {
return exec('git push --follow-tags ' + repoRoot + ' master:stable')
});
}));

gulp.task('publish-gh', function publishGH() {
return exec('git push origin master stable');
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"clean": "rimraf dist",
"test": "echo \"Error: no test specified\" && exit 1",
"release": "gulp release --newversion",
"publish": "npm publish",
"publish-gh": "gulp publish-gh",
"prebuild": "npm install && npm run clean"
}
}

0 comments on commit ac9dce2

Please sign in to comment.