Strip "v" from git version
Bug #1882892 reported by
Ryan Finnie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
"version: git" produces a version from `git describe`, producing "v4.4.1+
Since it's a common use case, maybe strip the initial ^v by default, or maybe "version: git-numeric" or similar?
To post a comment you must log in.
version: git is somewhat deprecated, you can do "snapcraftctl set-version $(git describe ...)" to create your own custom logic on version presentation.