matm/gocov-html

Broken semver tag v1.2

obalunenko opened this issue · 3 comments

Hi @matm
Tag v1.2 is broken - it should be v1.2.0

GO supports only semver tags or commit hashes for public modules.
https://go.dev/blog/publishing-go-modules

When I'm trying to install the latest version go fetches only v1.1.1

go install github.com/matm/gocov-html/cmd/gocov-html@latest

go: downloading github.com/matm/gocov-html v1.1.1
go: downloading github.com/axw/gocov v1.1.0

When I try to install v1.2 go throws an error

go install github.com/matm/gocov-html/cmd/gocov-html@v1.2

go: github.com/matm/gocov-html/cmd/gocov-html@v1.2: no matching versions for query "v1.2"
matm commented

Hi @obalunenko, thanks for reporting.

This is fixed. Tag v1.2.0 now replaces v1.2.

Thanks @matm
I tested it - it works like a charm now

matm commented

Nice to hear. Thanks for using it btw.