fix shell command to fetch current gitea version
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-02-06 00:00:27 +01:00
parent 5585285223
commit f865bc5efd
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
register: gitea_installed
- name: Get running version
shell: "{{ gitea_base_dir }}/gitea-latest -v | rev | cut -d ' ' -f5 | rev"
shell: "{{ gitea_base_dir }}/gitea-latest -v | rev | cut -d ' ' -f6 | rev"
register: gitea_current
changed_when: False
when: gitea_installed.stat.exists