mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 12:40:06 -03:30
Updates to versioning system.
https://github.com/ansible/awx/issues?q=%22--first-parent%22
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Get Version from checkout if not provided
|
||||
shell: "git describe --long --first-parent | sed 's/\\-g.*//' | sed 's/\\-/\\./'"
|
||||
shell: "{{ lookup('file', playbook_dir + '/../VERSION') }}"
|
||||
delegate_to: localhost
|
||||
register: awx_version_command
|
||||
when: awx_version is not defined
|
||||
|
||||
Reference in New Issue
Block a user