Skip to content

Commit

Permalink
Upgrade Go and drop support for darwin-386
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloriestra committed Dec 12, 2022
1 parent 383c8dd commit 23f424e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ clean: ## Remove all temporary build artifacts
all: clean bundle ## will build a binary for all platforms
@export GOOS=windows GOARCH=386 EXT=.exe; $(MAKE) build;
@export GOOS=windows GOARCH=amd64 EXT=.exe; $(MAKE) build;
@export GOOS=darwin GOARCH=386; $(MAKE) build;
@export GOOS=darwin GOARCH=amd64; $(MAKE) build;
@export GOOS=linux GOARCH=386; $(MAKE) build;
@export GOOS=linux GOARCH=amd64; $(MAKE) build;
Expand Down
2 changes: 1 addition & 1 deletion dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ up:
- mitmproxy
- dep
- go:
version: 1.13
version: 1.17.13
modules: true
1 change: 0 additions & 1 deletion docs/scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class Installer(object):
LATEST_RELEASE_URL = "https://shopify-themekit.s3.amazonaws.com/releases/latest.json"
ARCH_MAPPING = {
"darwin x86_64": "darwin-amd64",
"darwin i386": "darwin-386",
"linux x86_64": "linux-amd64",
"linux i386": "linux-386",
"freebsd x86_64": "freebsd-amd64",
Expand Down
1 change: 0 additions & 1 deletion scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class Installer(object):
LATEST_RELEASE_URL = "https://shopify-themekit.s3.amazonaws.com/releases/latest.json"
ARCH_MAPPING = {
"darwin x86_64": "darwin-amd64",
"darwin i386": "darwin-386",
"linux x86_64": "linux-amd64",
"linux i386": "linux-386",
"freebsd x86_64": "freebsd-amd64",
Expand Down
1 change: 0 additions & 1 deletion src/release/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
var (
builds = map[string]string{
"darwin-amd64": "theme",
"darwin-386": "theme",
"linux-386": "theme",
"linux-amd64": "theme",
"freebsd-386": "theme",
Expand Down
1 change: 0 additions & 1 deletion src/release/release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ func TestBuildRelease(t *testing.T) {

testplatforms := []platform{
{Name: "darwin-amd64", URL: "http://amazon/themekit", Digest: "d41d8cd98f00b204e9800998ecf8427e"},
{Name: "darwin-386", URL: "http://amazon/themekit", Digest: "d41d8cd98f00b204e9800998ecf8427e"},
{Name: "linux-386", URL: "http://amazon/themekit", Digest: "d41d8cd98f00b204e9800998ecf8427e"},
{Name: "linux-amd64", URL: "http://amazon/themekit", Digest: "d41d8cd98f00b204e9800998ecf8427e"},
{Name: "windows-386", URL: "http://amazon/themekit", Digest: "d41d8cd98f00b204e9800998ecf8427e"},
Expand Down

0 comments on commit 23f424e

Please sign in to comment.