Skip to content

Commit

Permalink
REVERT: Check if version contains build ID (#189)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Minehart <[email protected]>
  • Loading branch information
dsotirakis and kminehart authored Sep 28, 2023
1 parent 71af960 commit 2af8e09
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pipelines/package_names.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ func TarFilename(opts TarFileOpts) string {
arch = strings.Join([]string{arch, archv}, "-")
}

var p []string
if strings.Contains(opts.Version, opts.BuildID) {
p = []string{name, opts.Version, os, arch}
} else {
p = []string{name, opts.Version, opts.BuildID, os, arch}
}
p := []string{name, opts.Version, opts.BuildID, os, arch}

return fmt.Sprintf("%s.tar.gz", strings.Join(p, "_"))
}
Expand Down

0 comments on commit 2af8e09

Please sign in to comment.