Skip to content

Commit ac9dce2

Browse files
committed
Update publishing scripts
1 parent f6ac182 commit ac9dce2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gulpfile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@ gulp.task('release', gulp.series('bump-version', function release() {
5353
return exec('git push --follow-tags ' + repoRoot + ' master:stable')
5454
});
5555
}));
56+
57+
gulp.task('publish-gh', function publishGH() {
58+
return exec('git push origin master stable');
59+
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"clean": "rimraf dist",
5252
"test": "echo \"Error: no test specified\" && exit 1",
5353
"release": "gulp release --newversion",
54-
"publish": "npm publish",
54+
"publish-gh": "gulp publish-gh",
5555
"prebuild": "npm install && npm run clean"
5656
}
5757
}

0 commit comments

Comments
 (0)