gleam-lang/gleam
View on GitHubUnable to refetch a release when release is replaced on hex
Open
#3,268 opened on Jun 12, 2024
discussionhelp wanted
Description
After replacing a version on hex, gleam is unable to find the new tarball for the version, and continues to serve the old one.
Steps to reproduce:
- Download the tarball for a version of the package.
- Put that tarball in the cache folder (
~/Library/Caches/gleam/hex/hexpm/packageson macOS) - Rename it with the latest version (i.e. rename
lustre-4.2.4.tartolustre-4.2.5.tar) - Try to build, old code should be served
Environment:
- Gleam 1.2.1
- Erlang/OTP 26
- Node v18.14.0