All Nextcloud version are prefixed with a "v"…
This commit is contained in:
parent
d6aff5233d
commit
7d2d6a7aef
|
@ -68,7 +68,7 @@ nc_app_new_version_file="/tmp/.github.nextcloud.app.upgrade"
|
|||
# Get the 3 last tags releses for Nextcloud
|
||||
## Exclude tag starting with "v", and those contains alpha, beta or RC
|
||||
rm -f -- "${nc_new_version_list}" ; touch -- "${nc_new_version_list}"
|
||||
"${script_wd}"/releasetags "${nc_repo_url}" | grep -v -E -- "(^v|alpha|beta|RC)" | head -n3 >> "${nc_new_version_list}"
|
||||
"${script_wd}"/releasetags "${nc_repo_url}" | grep -v -E -- "(alpha|beta|RC)" | sed 's/^v//' | head -n3 >> "${nc_new_version_list}"
|
||||
|
||||
# For all tags contained in the tag list
|
||||
while IFS= read -r nc_new_version; do
|
||||
|
|
Loading…
Reference in New Issue