Skip to content

Latest release binaries do not have new corrections #1228

@rparrett

Description

@rparrett

Testing on macOS, but I first noticed this in the GH action crate-ci/[email protected] on ubuntu when this dependabot PR snuck by without breaking CI.

I didn't realize what was going on at the time -- based on the changelog I just assumed this was a release without any new corrections.

But I was surprised to find that when I ran the new version locally, a bunch of new corrections were found.

Repro Setup

cargo install typos-cli
mkdir test
cd test
echo "correspindong" > test.md
tar --include=typos -xvf typos-v1.29.5-x86_64-apple-darwin.tar.gz

Output

Installed with cargo, recognizes new correction

~/src/test 
 typos --version
typos-cli 1.29.5

~/src/test 
 typos
error: `correspindong` should be `corresponding`
  --> ./test.md:1:1
  |
1 | correspindong
  | ^^^^^^^^^^^^^
  |

Binary from release, does not complain

~/src/test 
 ./typos --version
typos-cli 1.29.5

~/src/test 
 ./typos

~/src/test 
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions