fix shell command to fetch current gitea version
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5585285223
commit
f865bc5efd
|
@ -6,7 +6,7 @@
|
||||||
register: gitea_installed
|
register: gitea_installed
|
||||||
|
|
||||||
- name: Get running version
|
- 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
|
register: gitea_current
|
||||||
changed_when: False
|
changed_when: False
|
||||||
when: gitea_installed.stat.exists
|
when: gitea_installed.stat.exists
|
||||||
|
|
Loading…
Reference in New Issue
Block a user