瀏覽代碼

fix: update insider version [skip ci]

Baptiste Augrain 1 年之前
父節點
當前提交
d7f0ff07dc
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 4 1
      insider.json
  2. 1 1
      update_insider.sh

+ 4 - 1
insider.json

@@ -1 +1,4 @@
-
+{
+  "tag": "1.82.0",
+  "commit": "f1302be1e67e3af5fbeb8bbb2ea784de7bc96150"
+}

+ 1 - 1
update_insider.sh

@@ -12,7 +12,7 @@ if [[ -z "${GITHUB_TOKEN}" ]]; then
   exit 0
   exit 0
 fi
 fi
 
 
-jsonTmp=$( jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. "insider.json" | .tag=$tag | .commit=$commit' )
+jsonTmp=$( cat "insider.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' )
 echo "${jsonTmp}" > "insider.json" && unset jsonTmp
 echo "${jsonTmp}" > "insider.json" && unset jsonTmp
 
 
 git config user.email "$( echo "${GITHUB_USERNAME}" | awk '{print tolower($0)}' )-ci@not-real.com"
 git config user.email "$( echo "${GITHUB_USERNAME}" | awk '{print tolower($0)}' )-ci@not-real.com"