mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fixed release
This commit is contained in:
parent
6880f3b86b
commit
9b0a96f8b5
@ -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",
|
||||
|
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user