We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceed8aa commit b5453fdCopy full SHA for b5453fd
update.sh
@@ -12,9 +12,8 @@ function clean() {
12
function updateRepository() {
13
printf "Updating repository...\n"
14
git reset --hard
15
- git pull origin master
16
- git fetch --tags -f
17
- tag="$(git describe --tags --abbrev=0)"
+ git fetch --tags --force
+ tag="$(git tag --sort=-v:refname | head -n 1)"
18
git checkout tags/"$tag"
19
}
20
0 commit comments