Do not prepend 'v' before target Git tag

This change updates an issue with the update script that not the actual
tag was fetched, but that the character 'v' was prepended before the
target Git tag.
This commit is contained in:
Fabian Mastenbroek 2021-05-02 14:38:44 +02:00
parent fcea73266d
commit badadcba8c
No known key found for this signature in database
GPG key ID: 405FC6F81F0A7B85

View file

@ -39,7 +39,7 @@ done
# Fetch from Git repository
echo "Fetching $LINUX_TAG from Linux Git repository..."
git --git-dir $LINUX_REPOSITORY/.git fetch origin --depth 1 v$LINUX_TAG
git --git-dir $LINUX_REPOSITORY/.git fetch origin --depth 1 $LINUX_TAG
git --git-dir $LINUX_REPOSITORY/.git checkout FETCH_HEAD
if [[ -z "$LINUX_VERSION" ]]; then