Browse Source

fix: upload only notary files [skip ci]

Baptiste Augrain 2 tháng trước cách đây
mục cha
commit
89b4e9a712
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      update_upstream.sh

+ 5 - 1
update_upstream.sh

@@ -11,7 +11,11 @@ fi
 jsonTmp=$( cat "./upstream/${VSCODE_QUALITY}.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' )
 echo "${jsonTmp}" > "./upstream/${VSCODE_QUALITY}.json" && unset jsonTmp
 
-git add .
+# stage notary files
+git add upstream/*
+
+# discard changed files
+git restore .
 
 CHANGES=$( git status --porcelain )