Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Version tags after v0.2.0 are missing the v prefix and no longer usable in go.mod #452

@bduffany

Description

@bduffany

When attempting to depend on rules_webtesting via go.mod (for the Go webtester library), adding a dep like github.com/bazelbuild/rules_webtesting v0.3.5 does not work; Go gives an error saying that the version doesn't exist. Dropping the v does not work either, as it's invalid.

It appears that after v0.2.0, the tagging scheme changed from vX.Y.Z to X.Y.Z.

There is a workaround for now, which is to depend on a pseudo-version (v0.0.0-TIMESTAMP-COMMIT) corresponding to the X.Y.Z commit, which for 0.3.5 is v0.0.0-20210910170740-6b2ef24cfe95

This workaround is ugly though, and most users (myself included) will probably not realize that when they add rules_webtesting with go get / go mod tidy etc., it will add an outdated version to go.mod (v0.2.0).

Can this repository be reverted back to the old tagging scheme? Or maybe publish two tags pointing to the same commit, v0.3.5 (for Go users) and 0.3.5 (for other purposes)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions