Skip to content

Commit 24d5a51

Browse files
committed
Changed git command for display the version
1 parent 11e7566 commit 24d5a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airone/settings_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class Common(Configuration):
270270

271271
try:
272272
proc = subprocess.Popen(
273-
"cd %s && git describe --tags" % BASE_DIR,
273+
"cd %s && git tag --points-at | grep -v pagoda-core- | head -1" % BASE_DIR,
274274
shell=True,
275275
stdout=subprocess.PIPE,
276276
stderr=subprocess.PIPE,

0 commit comments

Comments
 (0)