mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
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
|
@ -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 New Issue
Block a user