1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: ignore armel on snap pipe

closes #683
This commit is contained in:
Carlos Alexandro Becker 2018-06-20 09:39:10 -03:00
parent f96315cf3f
commit 8d96eef1c7
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 5 additions and 1 deletions

View File

@ -92,6 +92,10 @@ func (Pipe) Run(ctx *context.Context) error {
).GroupByPlatform() {
sem <- true
arch := linux.Arch(platform)
if arch == "armel" {
log.WithField("arch", arch).Warn("ignored unsupported arch")
continue
}
binaries := binaries
g.Go(func() error {
go func() {

View File

@ -173,7 +173,7 @@ func TestDefaultSet(t *testing.T) {
func addBinaries(t *testing.T, ctx *context.Context, name, dist string) {
for _, goos := range []string{"linux", "darwin"} {
for _, goarch := range []string{"amd64", "386"} {
for _, goarch := range []string{"amd64", "386", "arm6"} {
var folder = goos + goarch
assert.NoError(t, os.Mkdir(filepath.Join(dist, folder), 0755))
var binPath = filepath.Join(dist, folder, name)