Skip to content

Commit

Permalink
Merge pull request #10 from hilli/housekeeping
Browse files Browse the repository at this point in the history
Housekeeping
  • Loading branch information
hilli authored Feb 2, 2025
2 parents 10ccd19 + 594a817 commit 6bf2967
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ builds:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser -X main.treeState={{ .IsGitDirty }}

archives:
- format: tar.gz
- formats: [ tar.gz ]
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
Expand Down Expand Up @@ -74,7 +74,7 @@ brews:
repository:
owner: hilli
name: homebrew-tap
branch: main
branch: release-go-kef-w2-{{.Tag}}
pull_request:
enabled: true
draft: false
Expand Down
2 changes: 2 additions & 0 deletions kefw2/json_parsing.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package kefw2
import (
"encoding/json"
"errors"
"fmt"
)

func JSONStringValue(data []byte, err error) (value string, err2 error) {
Expand Down Expand Up @@ -51,6 +52,7 @@ func JSONIntValue(data []byte, err error) (value int, err2 error) {
func JSONUnmarshalValue(data []byte, err error) (value any, err2 error) {
// Easing the call chain
if err != nil {
fmt.Printf("Trouble talking to the speakers: %v", err)
return 0, err
}

Expand Down

0 comments on commit 6bf2967

Please sign in to comment.