Skip to content

Commit

Permalink
chore: fix license tracking (#989)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?

[go-licenses v1.1.0 dropped support for packages that aren't Go
modules](https://github.com/google/go-licenses/releases/tag/v1.1.0).
That or any later version run against our current repo state will result
in many dozens of this error:

> Package •thingie• does not have module info. Non go modules projects
are no longer supported. For feedback, refer to
google/go-licenses#128.

## Short description of the changes

Pinning our install to v1.0.0 seems to produce the LICENSES output
consistent with what the project has been tracking so far.
  • Loading branch information
robbkidd committed Feb 2, 2024
1 parent d3f9b39 commit 52c5f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ clean:

.PHONY: install-tools
install-tools:
go install github.com/google/go-licenses@latest
go install github.com/google/go-licenses@v1.0.0

.PHONY: update-licenses
update-licenses: install-tools
Expand Down

0 comments on commit 52c5f08

Please sign in to comment.