Skip to content

Commit 183fe72

Browse files
authored
Add both armv6 and armv7 support (#188)
1 parent 1f62c55 commit 183fe72

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.goreleaser.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ builds:
1010
- arm
1111
goarm:
1212
- 7
13+
- 6
1314
goos:
1415
- windows
1516
- linux
1617
- darwin
1718
ignore:
1819
- goos: windows
1920
goarch: arm
20-
goarm: 7
21+
- goos: windows
22+
goarch: arm64
23+
- goos: darwin
24+
goarch: arm
2125
hooks:
2226
post:
2327
- upx "{{ .Path }}"
@@ -29,7 +33,7 @@ builds:
2933
- -s
3034
dist: release
3135
archives:
32-
- name_template: "{{ .Binary }}-{{ .Os }}-{{ .Arch }}"
36+
- name_template: "{{ .Binary }}-{{ .Os }}-{{ .Arch }}{{ .Arm }}"
3337
replacements:
3438
darwin: darwin
3539
linux: linux

cmd/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ func loadConfig() (err error) {
3333
viper.SetConfigName("hd")
3434
viper.SetConfigType("yaml")
3535
viper.AddConfigPath("$HOME/.config")
36-
viper.AddConfigPath(".")
3736
if err = viper.ReadInConfig(); err != nil {
3837
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
3938
// Config file not found; ignore error if desired

0 commit comments

Comments
 (0)