fix(post): create git tag properly

refs/heads are for branches and refs/tags for tags.
This commit is contained in:
Kaito Udagawa
2017-08-16 20:47:29 -07:00
committed by Gregor Martynus
parent 3f8559731f
commit 0c79a9b4bf
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = function (config, cb) {
var tag = {
owner: ghRepo[0],
repo: ghRepo[1],
ref: 'refs/heads/v' + pkg.version,
ref: 'refs/tags/v' + pkg.version,
sha: hash
}
var release = {