Sfoglia il codice sorgente

Merge pull request #38661 from Ashesh3/patch-1

Better file naming for AppVeyor artifacts
Rémi Verschelde 5 anni fa
parent
commit
6731e1f98b
1 ha cambiato i file con 8 aggiunte e 4 eliminazioni
  1. 8 4
      .appveyor.yml

+ 8 - 4
.appveyor.yml

@@ -41,9 +41,13 @@ build_script:
   - scons platform=%GD_PLATFORM% target=%TARGET% tools=%TOOLS% %OPTIONS% %EXTRA_ARGS%
 
 after_build:
-  - 7z a godot_build.zip bin\*.exe
+  - git rev-parse --short=9 HEAD > VERSION_HASH.txt
+  - set /P VERSION_HASH= < VERSION_HASH.txt
+  - cd bin
+  - mv godot.windows.opt.tools.64.exe godot_%APPVEYOR_REPO_BRANCH%-%VERSION_HASH%_win64.exe
+  - 7z a -mx9 godot_%APPVEYOR_REPO_BRANCH%-%VERSION_HASH%_win64.zip *.exe
   
 artifacts:
-  - path: godot_build.zip
-    name: Build
-    type: zip
+  - path: bin/godot_${APPVEYOR_REPO_BRANCH}-${VERSION_HASH}_win64.zip
+    name: Win64 release_debug editor build
+    type: zip