fix(post): create git tag properly
refs/heads are for branches and refs/tags for tags.
This commit is contained in:
		
							parent
							
								
									3f8559731f
								
							
						
					
					
						commit
						0c79a9b4bf
					
				| @ -27,7 +27,7 @@ module.exports = function (config, cb) { | |||||||
|       var tag = { |       var tag = { | ||||||
|         owner: ghRepo[0], |         owner: ghRepo[0], | ||||||
|         repo: ghRepo[1], |         repo: ghRepo[1], | ||||||
|         ref: 'refs/heads/v' + pkg.version, |         ref: 'refs/tags/v' + pkg.version, | ||||||
|         sha: hash |         sha: hash | ||||||
|       } |       } | ||||||
|       var release = { |       var release = { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user