[Packaging] Fix using wrong commit id
This commit is contained in:
parent
0424543e36
commit
3f1ff54887
|
@ -34,7 +34,7 @@ try:
|
||||||
release_tag = check_output('git describe --exact-match --abbrev=0'.split(), stderr=STDOUT)
|
release_tag = check_output('git describe --exact-match --abbrev=0'.split(), stderr=STDOUT)
|
||||||
except CalledProcessError:
|
except CalledProcessError:
|
||||||
# Fallback to dev build tag.
|
# Fallback to dev build tag.
|
||||||
dev_tag = check_output('git describe --tags --abbrev=0'.split()).strip()
|
dev_tag = check_output('git describe --tags'.split()).strip()
|
||||||
release_tag = dev_tag
|
release_tag = dev_tag
|
||||||
|
|
||||||
version = release_tag.split('deluge-')[1]
|
version = release_tag.split('deluge-')[1]
|
||||||
|
|
Loading…
Reference in New Issue