Skip to content

Commit e46d034

Browse files
committed
fix make update to update go-yaml package
1 parent 703760f commit e46d034

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ clean:
8989
.PHONY: update
9090
update: export GOPROXY=direct
9191
update:
92-
go get -u ./... && go mod tidy
93-
go mod edit -modfile=go.dev.mod -droprequire=github.com/itchyny/{astgen,timefmt}-go
94-
go get -u -modfile=go.dev.mod github.com/itchyny/{astgen,timefmt}-go && go generate
92+
go get -u ./... && go get github.com/itchyny/go-yaml@gojq && go mod tidy
93+
rm go.dev.sum && go get -u -modfile=go.dev.mod github.com/itchyny/{astgen,timefmt}-go && go generate
9594

9695
.PHONY: bump
9796
bump: $(GOBIN)/gobump

0 commit comments

Comments
 (0)