canonical / canonical/concierge

Fix "concierge --version" when "go install"ed

Open
#59 4 comments 0 reactions 0 assignees View on GitHub
rainy day small item
Dominant language
Go
Stars
17
Forks
11
Avg merge
2d 3h
Merged PRs (30d)
6

Description

Example:

```
$ go install github.com/canonical/concierge@v1.0.2
go: downloading github.com/canonical/concierge v1.0.2
$ concierge --version
concierge version dev (dev)
```

This should say `concierge version v1.0.2`.

It looks like the snap works fine:

```
$ which concierge
/snap/bin/concierge
$ concierge --version
concierge version 1.0.2 (a8143a89a4c2168a153a9260f18f455b966ad490)
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the concierge CLI assembles its --version output and how version information is provided when installed with Go. Reproduce the issue with go install github.com/canonical/concierge@v1.0.2, then run concierge --version; done means it reports concierge version v1.0.2 rather than dev.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.