Update 'roles/services/update_gitea/tasks/main.yml'
Αυτό το commit περιλαμβάνεται σε:
γονέας
f00b35c63e
commit
d724a11692
1 αρχεία άλλαξαν με 1 προσθήκες και 1 διαγραφές
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: check latest version
|
- name: check latest version
|
||||||
shell: |
|
shell: |
|
||||||
curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/go-gitea/gitea/releases/latest | grep tag_name | tail -1 | cut -d\" -f4
|
curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/go-gitea/gitea/releases/latest | grep tag_name | tail -1 | cut -d\" -f4 | tr -d v
|
||||||
args:
|
args:
|
||||||
warn: false
|
warn: false
|
||||||
register: latest_version
|
register: latest_version
|
||||||
|
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα