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-17 12:03:23 +09:00 committed by Gregor Martynus
parent 3f8559731f
commit 0c79a9b4bf

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 = {