Closed flemaitre33 closed 1 year ago
I'm having the same issue. For those stuck you can try to install the previous version:
curl -sfL https://raw.githubusercontent.com/lokalise/lokalise-cli-2-go/v2.6.8/install.sh | sh -s -- v2.6.8
for anyone trying to debug, when running with -d we get
#35 [translator 4/8] RUN curl -sfL https://raw.githubusercontent.com/lokalise/lokalise-cli-2-go/v2.6.8/install.sh \| sh -s -- -d
--
| #35 sha256:582fd440441316a96a99d82f8b64d27c6390e80ee1a826d1783fc25842ba26c9
| #35 0.776 lokalise/lokalise-cli-2-go info checking GitHub for latest tag
| #35 0.777 lokalise/lokalise-cli-2-go debug http_download https://github.com/lokalise/lokalise-cli-2-go/releases/latest
| #35 1.080 lokalise/lokalise-cli-2-go info found version: 2.6.9 for v2.6.9/linux/x86_64
| #35 1.081 lokalise/lokalise-cli-2-go debug downloading files into /tmp/tmp.NGEjnM
| #35 1.082 lokalise/lokalise-cli-2-go debug http_download https://github.com/lokalise/lokalise-cli-2-go/releases/download/v2.6.9/lokalise2_linux_x86_64.tar.gz
| #35 1.324 lokalise/lokalise-cli-2-go debug http_download_curl received HTTP status 404
lokalise2_linux_x86_64.tar.gz appears to be missing in the assets list for this latest version: https://github.com/lokalise/lokalise-cli-2-go/releases
On macos m1 (darwin_arm64) is Ok
➜ ~ curl -sfL https://raw.githubusercontent.com/lokalise/lokalise-cli-2-go/master/install.sh | sh -s -- -d
lokalise/lokalise-cli-2-go info checking GitHub for latest tag
lokalise/lokalise-cli-2-go debug http_download https://github.com/lokalise/lokalise-cli-2-go/releases/latest
lokalise/lokalise-cli-2-go info found version: 2.6.9 for v2.6.9/darwin/arm64
lokalise/lokalise-cli-2-go debug downloading files into /var/folders/t4/8y65g0ws3f73qr9995k71_sm0000gq/T/tmp.68Yhjlhv
lokalise/lokalise-cli-2-go debug http_download https://github.com/lokalise/lokalise-cli-2-go/releases/download/v2.6.9/lokalise2_darwin_arm64.tar.gz
lokalise/lokalise-cli-2-go debug http_download https://github.com/lokalise/lokalise-cli-2-go/releases/download/v2.6.9/checksums.txt
lokalise/lokalise-cli-2-go info installed ./bin/lokalise2
I think the problem is caused by this change: https://github.com/lokalise/lokalise-cli-2-go/commit/2ba2568569c6a1f31f68e44a8135c622f42bc7d7
If you compare the v2.6.8 and v.2.6.9 release assets you can see this difference. Or the install.sh should be altered for the same change
I guess it is a change in the way releases work. It broke for me as well, maybe @yarlson is deeper into this and knows exactly whats going on... i guess https://github.com/lokalise/lokalise-cli-2-go/commit/1b7e4c70fdd043eb6ec0caf821d873623dd4a40c changes the namings. As the project readme says one can fetch releases with builds from static urls like these: https://github.com/lokalise/lokalise-cli-2-go/releases/latest/download/lokalise2_linux_x86_64.tar.gz
the "latest" part is broken and so wgetting stuff in our actions are broken.
If i see this correctly one can temporarily "pin" / fix your own GHA by not using the urls with the /releases/latest/download/
fragment in there, but must replace it to some static value, like /releases/download/v2.6.9
. (note the different order). At least i am able to get the 2.6.8 with wget --no-verbose https://github.com/lokalise/lokalise-cli-2-go/releases/download/v2.6.9/lokalise2_linux_x86_64.tar.gz
atm.
Goreleaser update has changed the names of the binaries, will address the issue ASAP
2.6.10 has been released, the paths have been fixed.
Works on my end (maybe delete the v2.6.9 release?)
Version 2.6.10 works fine 👍
Thanks @yarlson && @mlankamp
Thank you, @yarlson !
Hello,
since the last version
v.2.6.9
my github action to get translation files is broken.On version
v.2.6.8
is okOn version
v.2.6.9
install return error codeCan you check this issue please ?
Florent