File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff 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
3034dist : release
3135archives :
32- - name_template : " {{ .Binary }}-{{ .Os }}-{{ .Arch }}"
36+ - name_template : " {{ .Binary }}-{{ .Os }}-{{ .Arch }}{{ .Arm }} "
3337 replacements :
3438 darwin : darwin
3539 linux : linux
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments