1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-18 03:56:52 +02:00

feat(nix): support armv6l and armv7l (#4051)

closes #4049
This commit is contained in:
Carlos Alexandro Becker 2023-05-29 11:59:19 -03:00 committed by GitHub
parent 1a34c5dc98
commit 75c47d1da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 121 additions and 49 deletions

View File

@ -30,7 +30,7 @@ type errNoArchivesFound struct {
}
func (e errNoArchivesFound) Error() string {
return fmt.Sprintf("no linux/macos archives found matching goos=[darwin linux] goarch=[amd64 arm64 386] goamd64=%s ids=%v", e.goamd64, e.ids)
return fmt.Sprintf("no linux/macos archives found matching goos=[darwin linux] goarch=[amd64 arm arm64 386] goarm=[6 7] goamd64=%s ids=%v", e.goamd64, e.ids)
}
var (
@ -187,6 +187,13 @@ func preparePkg(
artifact.ByGoarch("amd64"),
artifact.ByGoamd64(nix.Goamd64),
),
artifact.And(
artifact.ByGoarch("arm"),
artifact.Or(
artifact.ByGoarm("6"),
artifact.ByGoarm("7"),
),
),
artifact.ByGoarch("arm64"),
artifact.ByGoarch("386"),
artifact.ByGoarch("all"),
@ -259,8 +266,8 @@ func preparePkg(
}
for _, goarch := range expandGoarch(art.Goarch) {
data.Archives[art.Goos+goarch] = archive
plat := goosToPlatform[art.Goos+goarch]
data.Archives[art.Goos+goarch+art.Goarm] = archive
plat := goosToPlatform[art.Goos+goarch+art.Goarm]
platforms[plat] = true
}
}
@ -280,6 +287,8 @@ func expandGoarch(goarch string) []string {
var goosToPlatform = map[string]string{
"linuxamd64": "x86_64-linux",
"linuxarm64": "aarch64-linux",
"linuxarm6": "armv6l-linux",
"linuxarm7": "armv7l-linux",
"linux386": "i686-linux",
"darwinamd64": "x86_64-darwin",
"darwinarm64": "aarch64-darwin",

View File

@ -301,14 +301,15 @@ func TestRunPipe(t *testing.T) {
testctx.WithCurrentTag("v1.2.1"),
testctx.WithSemver(1, 2, 1, "rc1"),
)
createFakeArtifact := func(id, goos, goarch string, extra map[string]any) {
path := filepath.Join(folder, "dist/foo_"+goos+goarch+".tar.gz")
createFakeArtifact := func(id, goos, goarch, goamd64, goarm string, extra map[string]any) {
path := filepath.Join(folder, "dist/foo_"+goos+goarch+goamd64+goarm+".tar.gz")
art := artifact.Artifact{
Name: "foo_" + goos + "_" + goarch + ".tar.gz",
Name: "foo_" + goos + "_" + goarch + goamd64 + goarm + ".tar.gz",
Path: path,
Goos: goos,
Goarch: goarch,
Goamd64: "v1",
Goarm: goarm,
Goamd64: goamd64,
Type: artifact.UploadableArchive,
Extra: map[string]interface{}{
artifact.ExtraID: id,
@ -328,20 +329,32 @@ func TestRunPipe(t *testing.T) {
require.NoError(t, f.Close())
}
createFakeArtifact("unibin-replaces", "darwin", "all", map[string]any{artifact.ExtraReplaces: true})
createFakeArtifact("unibin", "darwin", "all", nil)
createFakeArtifact("unibin-replaces", "darwin", "all", "", "", map[string]any{artifact.ExtraReplaces: true})
createFakeArtifact("unibin", "darwin", "all", "", "", nil)
for _, goos := range []string{"linux", "darwin", "windows"} {
for _, goarch := range []string{"amd64", "arm64", "386"} {
for _, goarch := range []string{"amd64", "arm64", "386", "arm"} {
if goos+goarch == "darwin386" {
continue
}
if goarch == "amd64" {
createFakeArtifact("partial", goos, goarch, nil)
createFakeArtifact("partial", goos, goarch, "v1", "", nil)
createFakeArtifact("foo", goos, goarch, "v1", "", nil)
createFakeArtifact("unibin", goos, goarch, "v1", "", nil)
createFakeArtifact("unibin-replaces", goos, goarch, "v1", "", nil)
createFakeArtifact("wrapped-in-dir", goos, goarch, "v1", "", map[string]any{artifact.ExtraWrappedIn: "./foo"})
}
createFakeArtifact("foo", goos, goarch, nil)
createFakeArtifact("unibin", goos, goarch, nil)
createFakeArtifact("unibin-replaces", goos, goarch, nil)
createFakeArtifact("wrapped-in-dir", goos, goarch, map[string]any{artifact.ExtraWrappedIn: "./foo"})
if goarch == "arm" {
if goos != "linux" {
continue
}
createFakeArtifact("foo", goos, goarch, "", "6", nil)
createFakeArtifact("foo", goos, goarch, "", "7", nil)
continue
}
createFakeArtifact("foo", goos, goarch, "", "", nil)
createFakeArtifact("unibin", goos, goarch, "", "", nil)
createFakeArtifact("unibin-replaces", goos, goarch, "", "", nil)
createFakeArtifact("wrapped-in-dir", goos, goarch, "", "", map[string]any{artifact.ExtraWrappedIn: "./foo"})
}
}
@ -349,11 +362,13 @@ func TestRunPipe(t *testing.T) {
bpipe := NewBuild()
ppipe := Pipe{
fakeNixShaPrefetcher{
"https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz": "sha1",
"https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz": "sha2",
"https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz": "sha3",
"https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz": "sha4",
"https://dummyhost/download/v1.2.1/foo_darwin_all.tar.gz": "sha5",
"https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz": "sha1",
"https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz": "sha2",
"https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz": "sha3",
"https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz": "sha4",
"https://dummyhost/download/v1.2.1/foo_darwin_all.tar.gz": "sha5",
"https://dummyhost/download/v1.2.1/foo_linux_arm6.tar.gz": "sha6",
"https://dummyhost/download/v1.2.1/foo_linux_arm7.tar.gz": "sha7",
},
}
@ -396,7 +411,7 @@ func TestErrNoArchivesFound(t *testing.T) {
require.EqualError(t, errNoArchivesFound{
goamd64: "v1",
ids: []string{"foo", "bar"},
}, "no linux/macos archives found matching goos=[darwin linux] goarch=[amd64 arm64 386] goamd64=v1 ids=[foo bar]")
}, "no linux/macos archives found matching goos=[darwin linux] goarch=[amd64 arm arm64 386] goarm=[6 7] goamd64=v1 ids=[foo bar]")
}
type fakeNixShaPrefetcher map[string]string

View File

@ -4,6 +4,8 @@ let
shaMap = {
i686-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-linux = "0000000000000000000000000000000000000000000000000000";
armv6l-linux = "0000000000000000000000000000000000000000000000000000";
armv7l-linux = "0000000000000000000000000000000000000000000000000000";
aarch64-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-darwin = "0000000000000000000000000000000000000000000000000000";
aarch64-darwin = "0000000000000000000000000000000000000000000000000000";
@ -11,9 +13,11 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
armv6l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm6.tar.gz";
armv7l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm7.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {
@ -40,6 +44,8 @@ in pkgs.stdenv.mkDerivation {
platforms = [
"aarch64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
"i686-linux"
"x86_64-darwin"
"x86_64-linux"

View File

@ -3,6 +3,8 @@
let
shaMap = {
x86_64-linux = "sha1";
armv6l-linux = "sha6";
armv7l-linux = "sha7";
aarch64-linux = "sha2";
x86_64-darwin = "sha3";
aarch64-darwin = "sha4";
@ -10,9 +12,11 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
armv6l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm6.tar.gz";
armv7l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm7.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {
@ -39,6 +43,8 @@ in pkgs.stdenv.mkDerivation {
platforms = [
"aarch64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
"i686-linux"
"x86_64-darwin"
"x86_64-linux"

View File

@ -4,6 +4,8 @@ let
shaMap = {
i686-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-linux = "0000000000000000000000000000000000000000000000000000";
armv6l-linux = "0000000000000000000000000000000000000000000000000000";
armv7l-linux = "0000000000000000000000000000000000000000000000000000";
aarch64-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-darwin = "0000000000000000000000000000000000000000000000000000";
aarch64-darwin = "0000000000000000000000000000000000000000000000000000";
@ -11,9 +13,11 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
armv6l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm6.tar.gz";
armv7l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm7.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {
@ -43,6 +47,8 @@ in pkgs.stdenv.mkDerivation {
platforms = [
"aarch64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
"i686-linux"
"x86_64-darwin"
"x86_64-linux"

View File

@ -3,6 +3,8 @@
let
shaMap = {
x86_64-linux = "sha1";
armv6l-linux = "sha6";
armv7l-linux = "sha7";
aarch64-linux = "sha2";
x86_64-darwin = "sha3";
aarch64-darwin = "sha4";
@ -10,9 +12,11 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
armv6l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm6.tar.gz";
armv7l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm7.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {
@ -42,6 +46,8 @@ in pkgs.stdenv.mkDerivation {
platforms = [
"aarch64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
"i686-linux"
"x86_64-darwin"
"x86_64-linux"

View File

@ -7,8 +7,8 @@ let
};
urlMap = {
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
};
in pkgs.stdenv.mkDerivation {
pname = "partial";

View File

@ -7,8 +7,8 @@ let
};
urlMap = {
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
};
in pkgs.stdenv.mkDerivation {
pname = "partial";

View File

@ -4,6 +4,8 @@ let
shaMap = {
i686-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-linux = "0000000000000000000000000000000000000000000000000000";
armv6l-linux = "0000000000000000000000000000000000000000000000000000";
armv7l-linux = "0000000000000000000000000000000000000000000000000000";
aarch64-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-darwin = "0000000000000000000000000000000000000000000000000000";
aarch64-darwin = "0000000000000000000000000000000000000000000000000000";
@ -11,9 +13,11 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
armv6l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm6.tar.gz";
armv7l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm7.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {
@ -40,6 +44,8 @@ in pkgs.stdenv.mkDerivation {
platforms = [
"aarch64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
"i686-linux"
"x86_64-darwin"
"x86_64-linux"

View File

@ -4,6 +4,8 @@ let
shaMap = {
i686-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-linux = "0000000000000000000000000000000000000000000000000000";
armv6l-linux = "0000000000000000000000000000000000000000000000000000";
armv7l-linux = "0000000000000000000000000000000000000000000000000000";
aarch64-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-darwin = "0000000000000000000000000000000000000000000000000000";
aarch64-darwin = "0000000000000000000000000000000000000000000000000000";
@ -11,9 +13,11 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
armv6l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm6.tar.gz";
armv7l-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm7.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {
@ -40,6 +44,8 @@ in pkgs.stdenv.mkDerivation {
platforms = [
"aarch64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
"i686-linux"
"x86_64-darwin"
"x86_64-linux"

View File

@ -11,9 +11,9 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {

View File

@ -10,9 +10,9 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {

View File

@ -11,9 +11,9 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {

View File

@ -10,9 +10,9 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {

View File

@ -11,9 +11,9 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {

View File

@ -10,9 +10,9 @@ let
urlMap = {
i686-linux = "https://dummyhost/download/v1.2.1/foo_linux_386.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64.tar.gz";
x86_64-linux = "https://dummyhost/download/v1.2.1/foo_linux_amd64v1.tar.gz";
aarch64-linux = "https://dummyhost/download/v1.2.1/foo_linux_arm64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64.tar.gz";
x86_64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_amd64v1.tar.gz";
aarch64-darwin = "https://dummyhost/download/v1.2.1/foo_darwin_arm64.tar.gz";
};
in pkgs.stdenv.mkDerivation {

View File

@ -8,6 +8,12 @@ let
{{- with .Archives.linuxamd64.Sha }}
x86_64-linux = "{{ . }}";
{{- end }}
{{- with .Archives.linuxarm6.Sha }}
armv6l-linux = "{{ . }}";
{{- end }}
{{- with .Archives.linuxarm7.Sha }}
armv7l-linux = "{{ . }}";
{{- end }}
{{- with .Archives.linuxarm64.Sha }}
aarch64-linux = "{{ . }}";
{{- end }}
@ -26,6 +32,12 @@ let
{{- with .Archives.linuxamd64.URL }}
x86_64-linux = "{{ . }}";
{{- end }}
{{- with .Archives.linuxarm6.URL }}
armv6l-linux = "{{ . }}";
{{- end }}
{{- with .Archives.linuxarm7.URL }}
armv7l-linux = "{{ . }}";
{{- end }}
{{- with .Archives.linuxarm64.URL }}
aarch64-linux = "{{ . }}";
{{- end }}