Skip to content

Not getting expected version output in CLI for v0.7 #179

@andrejusc

Description

@andrejusc

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions