Update 'roles/services/update_gitea/tasks/main.yml'

Αυτό το commit περιλαμβάνεται σε:
Inf L00p 2022-05-04 08:01:36 +00:00
γονέας f00b35c63e
commit d724a11692

@ -1,7 +1,7 @@
---
- name: check latest version
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:
warn: false
register: latest_version