Summary
go install github.com/awf-project/cli/cmd/awf@latest fails because the Go module contains file paths that differ only by letter case.
The current latest version resolves to v0.11.0, but Go fails while creating the module zip due to case-insensitive file name collisions.
Steps to reproduce
Run:
go install github.com/awf-project/cli/cmd/awf@latest
Actual result
go: downloading github.com/awf-project/cli v0.11.0
go: github.com/awf-project/cli/cmd/awf@latest: create zip: internal/interfaces/cli/Off: case-insensitive file name collision: "internal/interfaces/cli/OFF" and "internal/interfaces/cli/Off"
internal/interfaces/cli/oFF: case-insensitive file name collision: "internal/interfaces/cli/OFF" and "internal/interfaces/cli/oFF"
Expected result
The CLI should be installable with:
go install github.com/awf-project/cli/cmd/awf@latest
Suspected cause
The repository appears to contain multiple paths that differ only by letter case:
internal/interfaces/cli/OFF
internal/interfaces/cli/Off
internal/interfaces/cli/oFF
This breaks Go module zip creation, because Go modules reject case-insensitive path collisions.
Possible fix
Rename or remove the conflicting files/directories so that no two paths in the module differ only by case, then publish a new release tag.
Environment
- Package:
github.com/awf-project/cli/cmd/awf
- Version resolved by Go:
v0.11.0
- Install command:
go install github.com/awf-project/cli/cmd/awf@latest
Summary
go install github.com/awf-project/cli/cmd/awf@latestfails because the Go module contains file paths that differ only by letter case.The current latest version resolves to
v0.11.0, but Go fails while creating the module zip due to case-insensitive file name collisions.Steps to reproduce
Run:
Actual result
Expected result
The CLI should be installable with:
Suspected cause
The repository appears to contain multiple paths that differ only by letter case:
This breaks Go module zip creation, because Go modules reject case-insensitive path collisions.
Possible fix
Rename or remove the conflicting files/directories so that no two paths in the module differ only by case, then publish a new release tag.
Environment
github.com/awf-project/cli/cmd/awfv0.11.0go install github.com/awf-project/cli/cmd/awf@latest