1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: wrong rebase

This commit is contained in:
Carlos Alexandro Becker 2018-02-15 00:23:23 -02:00 committed by Carlos Alexandro Becker
parent 9dfb8547d4
commit 1376f9e226

View File

@ -111,12 +111,12 @@ func buildManifest(ctx *context.Context, client client.Client, artifacts []artif
for _, artifact := range artifacts {
if artifact.Goarch == "amd64" {
manifest.Architecture["64bit"] = Resource{
URL: getDownloadURL(ctx, githubURL, artifact.Name),
URL: getDownloadURL(ctx, ctx.Config.GitHubURLs.Download, artifact.Name),
Bin: ctx.Config.Builds[0].Binary + ".exe",
}
} else if artifact.Goarch == "386" {
manifest.Architecture["32bit"] = Resource{
URL: getDownloadURL(ctx, githubURL, artifact.Name),
URL: getDownloadURL(ctx, ctx.Config.GitHubURLs.Download, artifact.Name),
Bin: ctx.Config.Builds[0].Binary + ".exe",
}
}