Skip to content

Wrong version shown in help #66

@norbertwnuk

Description

@norbertwnuk

Current logic in https://github.com/Link-/gh-token/blob/main/Makefile#L47 seems to be not working / updating: https://github.com/Link-/gh-token/blob/main/main.go#L16 Spotted during tests for: NixOS/nixpkgs#496592, native GH binaries are affected too.

~$ whereis gh-token
gh-token: /nix/store/s0rqm3mqhrcxx5067qd7i8mm39qk2rfs-profile/bin/gh-token
~$ ls -lah /nix/store/s0rqm3mqhrcxx5067qd7i8mm39qk2rfs-profile/bin/gh-token
lrwxrwxrwx 1 norbert norbert 71 Jan  1  1970 /nix/store/s0rqm3mqhrcxx5067qd7i8mm39qk2rfs-profile/bin/gh-token -> /nix/store/1hivnbl5lksz9dzfh35rj2wwf8xqz642-gh-token-2.0.8/bin/gh-token
~$ gh-token --help
NAME:
   gh-token - Manage GitHub App installation tokens

USAGE:
   gh-token [global options] command [command options]

VERSION:
   2.0.6
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions