Skip to content

Auto update version when pre-commit hook is invoked  #434

@pornchanok-tw

Description

@pornchanok-tw

Describe the bug
Hi, there's a question from gordon-jetstar-tw and nueng-tw
According to this statement
image

Why there's no version update triggered when pre-commit hook triggered?

To Reproduce
Steps to reproduce the behavior:

  1. run ./.git/hooks/bin/talisman --version
    image

  2. run ./.git/hooks/bin/talisman --githook pre-commit
    image

  3. run ./.git/hooks/bin/talisman --version again. the version still remain the same
    image

Expected behavior
The version should be automatically updated to the latest version. (Now it's 1.31.0)

Desktop (please complete the following information):

  • Macbook Pro M1
  • OS: Macos ventura 13.5.1

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