Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running pre-commit autoupdate downgrade the version #12

Open
fauust opened this issue Nov 10, 2020 · 2 comments
Open

Running pre-commit autoupdate downgrade the version #12

fauust opened this issue Nov 10, 2020 · 2 comments

Comments

@fauust
Copy link

fauust commented Nov 10, 2020

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.
@chrisgilmerproj
Copy link

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
Copy link

I have opened a bug report here: pre-commit/pre-commit#2364

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants