mirror of
https://github.com/friendica/docker
synced 2025-01-30 11:17:54 +01:00
fix rc fetching
This commit is contained in:
parent
ade37e5af6
commit
4b0658a64a
1 changed files with 6 additions and 6 deletions
12
update.sh
12
update.sh
|
@ -173,12 +173,8 @@ for version in "${versions[@]}"; do
|
|||
fi
|
||||
done
|
||||
|
||||
for variant in "${variants[@]}"; do
|
||||
create_variant "$(cat develop.txt)"
|
||||
done
|
||||
|
||||
githubversions_rc=( $( git ls-remote --heads 'https://github.com/friendica/friendica' | \
|
||||
grep -oE '[[:digit:]]+\.[[:digit:]]+\-(rc)' | \
|
||||
githubversions_rc=( $( git ls-remote --heads -q 'https://github.com/friendica/friendica' | \
|
||||
grep -oE '[[:digit:]]+\.[[:digit:]]+\-rc' || true | \
|
||||
sort -urV ) )
|
||||
versions_rc=( $( printf '%s\n' "${githubversions_rc[@]}" | cut -d. -f1-2 | sort -urV ) )
|
||||
for version in "${versions_rc[@]}"; do
|
||||
|
@ -189,3 +185,7 @@ for version in "${versions_rc[@]}"; do
|
|||
done
|
||||
fi
|
||||
done
|
||||
|
||||
for variant in "${variants[@]}"; do
|
||||
create_variant "$(cat develop.txt)"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue