Fix github page changed
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
87d15e0250
commit
43d2098da3
1 changed files with 5 additions and 1 deletions
|
|
@ -27,7 +27,11 @@
|
|||
- gopass.stat.exists
|
||||
|
||||
- name: Check online version
|
||||
shell: set -o pipefail && curl -s {{ gopass_base_url }}/releases/latest | sed 's|.*tag/v\(.*\)".*|\1|'
|
||||
shell: set -o pipefail && curl -Ls {{ gopass_base_url }}/releases/latest | grep "<title>Release " | sed 's/.*Release v\([^ ]*\).*/\1/'
|
||||
# shell:
|
||||
# set -o pipefail && curl -s https://api.github.com/repos/gopasspw/gopass/releases/latest | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/'
|
||||
# set -o pipefail && git ls-remote --tags --refs --sort="version:refname" {{ gopass_base_url }} | cut -d/ -f3- | sed s/v// | tail -n1
|
||||
# set -o pipefail && curl -s "https://api.github.com/repos/gopasspw/gopass/releases/latest" | jq -r .tag_name | sed s/v//
|
||||
register: gopass_ver
|
||||
changed_when: false
|
||||
check_mode: no
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue