Browse Source

tool: Fix clobbered tags preventing updating

pull/152/head
jld3103 2 years ago
parent
commit
d02dfb72f1
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      tool/update.sh

2
tool/update.sh

@ -19,7 +19,7 @@ elif [[ "$1" == "dependencies" ]]; then
elif [ -d "external/nextcloud-$1" ]; then
(
cd "external/nextcloud-$1"
git fetch --tags
git fetch --tags --force
latest_tag="$(git tag --sort=v:refname | grep -vi "rc" | grep -vi "alpha" | grep -vi "beta" | tail -n 1)"
git reset --hard "$latest_tag"
git submodule update

Loading…
Cancel
Save