Skip to content

Conversation

@KHADEPALLAVI975
Copy link

Error:
#850
#851

This PR resolves an issue where Go module zip creation fails on case-insensitive filesystems (such as Windows and macOS) due to a filename collision:

Root cause:
The repository shipped both a root VERSION file and a version package directory. On case-insensitive filesystems, these collide, causing go get -u and module zip creation to fail.

What this PR does:
Renames the root VERSION file to VERSION.txt
Updates all references in Makefile.common and RELEASE.md to use VERSION.txt
This change eliminates the collision and allows Go module operations to work correctly on all platforms.

- Rename root VERSION file to VERSION.txt to avoid case-insensitive collision with version/ directory
- Update Makefile.common and RELEASE.md to reference VERSION.txt
- Fixes go: create zip: version/info.go: case-insensitive file name collision: 'VERSION' and 'version'

Signed-off-by: Pallavi Khade <[email protected]>
@KHADEPALLAVI975
Copy link
Author

@bastischubert @SuperQ
please review this

@SuperQ
Copy link
Member

SuperQ commented Oct 7, 2025

This will not work, as the VERSION filename is used by other Prometheus ecosystem tools. As well as we sync Makefile.common.

The good news is that we don't actually use those tools and hence the VERSION can be removed from this repo.

@roidelapluie
Copy link
Member

Yes, the fix is to remove VERSION.

@SuperQ
Copy link
Member

SuperQ commented Oct 7, 2025

Closing in favor of #853

@SuperQ SuperQ closed this Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants