瀏覽代碼

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.
Fabian Mastenbroek 4 年之前
父節點
當前提交
badadcba8c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/update.sh

+ 1 - 1
scripts/update.sh

@@ -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