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:
parent
30a7867604
commit
d4b84becd7
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user