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

fix: signature upload

This commit is contained in:
Carlos Alexandro Becker 2017-12-17 19:16:25 -02:00
parent 30a7867604
commit d4b84becd7
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ func doRun(ctx *context.Context, c client.Client) error {
artifact.ByType(artifact.UploadableArchive),
artifact.ByType(artifact.UploadableBinary),
artifact.ByType(artifact.Checksum),
artifact.ByType(artifact.Signature),
),
).List() {
sem <- true

View File

@ -96,7 +96,7 @@ func signone(ctx *context.Context, artifact artifact.Artifact) (string, error) {
if err != nil {
return "", fmt.Errorf("sign: %s failed with %q", cfg.Cmd, string(output))
}
return env["signature"], nil
return filepath.Base(env["signature"]), nil
}
func expand(s string, env map[string]string) string {