Skip to content

Beta tags and commit hashes don't work #29

@fregante

Description

@fregante

The readme states:

pre-commit/README.md

Lines 23 to 24 in 3957a81

- repo: https://github.com/biomejs/pre-commit
rev: v1.9.4 # Use the sha / tag you want to point at

But I'm unable to use it

Tag

https://github.com/biomejs/biome/releases/tag/cli%2Fv1.9.5-nightly.81fdedb

  - repo: https://github.com/biomejs/pre-commit
    rev: cli/v1.9.5-nightly.81fdedb
[INFO] Initializing environment for https://github.com/biomejs/pre-commit.
An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/git', 'checkout', 'cli/v1.9.5-nightly.81fdedb')
return code: 1
stdout: (none)
stderr:
    error: pathspec 'cli/v1.9.5-nightly.81fdedb' did not match any file(s) known to git

Hash

https://github.com/biomejs/biome/tree/81fdedb

  - repo: https://github.com/biomejs/pre-commit
    rev: 81fdedb
[INFO] Initializing environment for https://github.com/biomejs/pre-commit.
An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/git', 'checkout', '81fdedb')
return code: 1
stdout: (none)
stderr:
    error: pathspec '81fdedb' did not match any file(s) known to git

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