build: fix architecture name in ARMv7 build - fixes #4571
After introducing the arm-v7 build we are accidentally making debs and rpms with the architecture arm-v7. This fixes the problem by stripping the version off.
This commit is contained in:
parent
05bea46c3e
commit
e58a61175f
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ func compileArch(version, goos, goarch, dir string) bool {
|
|||
artifacts := []string{buildZip(dir)}
|
||||
// build a .deb and .rpm if appropriate
|
||||
if goos == "linux" {
|
||||
artifacts = append(artifacts, buildDebAndRpm(dir, version, goarch)...)
|
||||
artifacts = append(artifacts, buildDebAndRpm(dir, version, stripVersion(goarch))...)
|
||||
}
|
||||
if *copyAs != "" {
|
||||
for _, artifact := range artifacts {
|
||||
|
|
Loading…
Reference in a new issue