pre-commit-shell icon indicating copy to clipboard operation
pre-commit-shell copied to clipboard

Running `pre-commit autoupdate` downgrade the version

Open fauust opened this issue 5 years ago • 3 comments

Hi!

.venv ❯ cat .pre-commit-config.yaml
- repo: https://github.com/detailyang/pre-commit-shell
    rev: v1.0.6
    hooks:
      - id: shell-lint
        name: Check for shell syntax (shellcheck)
        args: ["-x"]
.venv ❯ pre-commit autoupdate
Updating https://github.com/detailyang/pre-commit-shell ... updating v1.0.6 -> 1.0.5.

fauust avatar Nov 10 '20 08:11 fauust

I am also experiencing this issue. Because the version checker things that versions without a v come after versions with a v it will always downgrade v1.0.6 to 1.0.5. Can we ask that either all the tags get updated to include a v or that the repo goes back to using versions without a v?

chrisgilmerproj avatar Apr 26 '22 16:04 chrisgilmerproj

I have opened a bug report here: https://github.com/pre-commit/pre-commit/issues/2364

chrisgilmerproj avatar Apr 26 '22 16:04 chrisgilmerproj