Skip to content

Commit

Permalink
TOOLS-2561: Correctly detect .sig extensions in artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
rychipman committed May 1, 2020
1 parent cf46de1 commit e8c1f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/release.go
Expand Up @@ -1028,8 +1028,8 @@ func uploadRelease(v version.Version) {

for _, a := range artifacts {
ext := path.Ext(a.URL)
if ext == "sig" {
ext = a.URL[len(a.URL)-6:]
if ext == ".sig" {
ext = a.URL[len(a.URL)-8:]
}

unstableFile := fmt.Sprintf(
Expand Down

0 comments on commit e8c1f7e

Please sign in to comment.