Add a dash to separate the version
This commit is contained in:
parent
d7febd3608
commit
4c1cbb5cf1
@ -60,7 +60,7 @@ function update_vaultwarden {
|
||||
}
|
||||
|
||||
# retrieve local release
|
||||
local_release=$(/usr/local/bin/vaultwarden --version | awk --field-separator ' ' '{print $2}')
|
||||
local_release=$(/usr/local/bin/vaultwarden --version | awk --field-separator '-' '{print $2}')
|
||||
|
||||
# retrieve the latest release
|
||||
latest_release=$(git ls-remote https://github.com/dani-garcia/vaultwarden.git HEAD | awk '{print substr($1, 1, length($1) - 32)}')
|
||||
|
Loading…
Reference in New Issue
Block a user