Fix sdist builder image

Fallout from https://github.com/ansible/awx/pull/982
This commit is contained in:
Shane McDonald
2018-01-15 15:39:48 -05:00
parent 2b1d2b2976
commit 97472cb91b
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
---
- name: Get Version from checkout if not provided
shell: "git describe --long | sed 's/\\-g.*//' | sed 's/\\-/\\./'"
shell: "git describe --long --first-parent | sed 's/\\-g.*//' | sed 's/\\-/\\./'"
delegate_to: localhost
register: awx_version_command
when: awx_version is not defined