acr-cli icon indicating copy to clipboard operation
acr-cli copied to clipboard

Not getting expected version output in CLI for v0.7

Open andrejusc opened this issue 1 year ago • 0 comments

Describe the bug Part of hep output for acr-cli has this:

Available Commands:
...
  version     Print version information

but trying to print version for Release v0.7 - getting: Version: , Revision: .m

To Reproduce Steps to reproduce the behavior:

  1. Run such command: $ docker run --rm --name acr-cli mcr.microsoft.com/acr/acr-cli:0.7 version
  2. Observe wrong/incomplete version output: Version: , Revision: .m

Expected behavior Potentially it should be like such: Version: 0.7, Revision: <some_commit_hash>

Screenshots If applicable, add screenshots to help explain your problem.

Any relevant environment information

  • OS: Ubuntu Linux
  • Version 22.04

Additional context Add any other context about the problem here.

andrejusc avatar Jul 24 '23 21:07 andrejusc