Sfoglia il codice sorgente

fix: upload only notary files [skip ci]

Baptiste Augrain 2 mesi fa
parent
commit
89b4e9a712
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  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 )