git build recipe seems not to like multiple - in version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-build-recipe |
New
|
Undecided
|
Unassigned |
Bug Description
As seen at
https:/
I hit an error when trying to use debupstream when the upstream version in debian/changelog had '-' in it.
Ie, my upstream version was
0.7.7~
And I think that caused the error.
Git version:
git version 1.9.1
git-build-recipe 0.3~git20160310
Building recipe:
# git-build-recipe format 0.4 deb-version {debupstream:
lp:cloud-init master
merge ubuntu-pkg lp:cloud-init ubuntu/devel
RUN ['git-build-
Traceback (most recent call last):
File "/usr/lib/
changelog.
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise ValueError("Invalid version string %r" % version)
ValueError: Invalid version string '{debupstream:
During handling of the above exception, another exception occurred:
This has nothing to do with multiple "-" characters. The problem is that {debupstream: ubuntu- pkg} hasn't been expanded for some reason.