1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-09-16 09:26:52 +02:00

fixed release

This commit is contained in:
Carlos Alexandro Becker
2016-12-29 09:04:56 -02:00
parent 6880f3b86b
commit 9b0a96f8b5
2 changed files with 1 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ import (
func Build(version string, config config.ProjectConfig) error {
for _, bos := range config.Build.Oses {
for _, arch := range config.Build.Arches {
fmt.Println("Building", bos+"/"+arch+"...")
fmt.Println("Building", bos+"/"+arch, "...")
cmd := exec.Command(
"go",
"build",

View File

@@ -24,7 +24,6 @@ func Release(version, diff string, config config.ProjectConfig) error {
repo := strings.Split(config.Repo, "/")[1]
r, _, err := client.Repositories.CreateRelease(owner, repo, &github.RepositoryRelease{
TargetCommitish: github.String(version),
Draft: github.Bool(true),
Name: github.String(version),
TagName: github.String(version),