huacnlee / autocorrect

A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).
https://huacnlee.github.io/autocorrect
MIT License
894 stars 31 forks source link

autocorrect 2.9.3 未构建 GNU Linux 工具链版本 #196

Closed taoky closed 3 months ago

taoky commented 3 months ago

这似乎导致了安装脚本在 Linux 下无法正常工作:

# curl -sSL https://raw.githubusercontent.com/huacnlee/autocorrect/main/install | sh
Downloading autocorrect@v2.9.3 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9    0     9    0     0     15      0 --:--:-- --:--:-- --:--:--    15

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat 'autocorrect': No such file or directory
AutoCorrect v2.9.3 has installed successfully.
taoky commented 3 months ago

另一个附带的问题是:这里安装脚本在安装失败时仍然会返回成功。

huacnlee commented 3 months ago

我知道,是 CI 坏了,我一直没空修好

huacnlee commented 3 months ago

https://github.com/huacnlee/autocorrect/releases/tag/v2.9.3 我把这个版本暂时改成 prerelease 了,现在 install script 应该好了

taoky commented 3 months ago

我在本地测试 nightly 使用 cross 会出现一样的错误,而直接用 cargo 编译就没有问题。

可能和 https://github.com/cross-rs/cross/issues/1496 有关。