]> granicus.if.org Git - nethack/commitdiff
travis updates for Windows deploy
authornhmall <nhmall@nethack.org>
Mon, 28 Oct 2019 00:36:03 +0000 (20:36 -0400)
committernhmall <nhmall@nethack.org>
Mon, 28 Oct 2019 00:36:03 +0000 (20:36 -0400)
travis updates for Windows deploy

Change zip file name from NetHack.zip
to
NetHack-x86-beta$TRAVIS_TAG.zip
where $TRAVIS_TAG represents the tag info.

Also, log the commands from the sh script in win/win32/vs2017 to the build log.

.travis.yml
win/win32/vs2017/travisci.sh

index 501c0f7df74164d9ed38228ab96da714b9d258c1..d13ff931d06bf5819b6ac7bc41fe6f5c14cbc36a 100644 (file)
@@ -101,11 +101,12 @@ deploy:
   provider: releases
   api_key:
     secure: "U0Dt2CXrcG8Yi4taUCT/6AnM+0IJtdCv6IVG/2rGooUY3pZjNWE9XDM6X9ZeAmbI79aN6FPTppjUf3KbB/upYeJt+8mrjnxEk/ZTO1xXDDW8iL/DiqnczoFsMGmPsTM+Fkeak8bu0SifI7Qkx9i1N+zOyl2VdlaxGjchPfl/OJw2jcQs7rOGRfr23/rapZKTcFq+BFlxMiIHa0dXbCJ9vagdlyAeclOCtPjw1VoH/Cb/+0/Xlx2MFPncw4/1P+bO/fPantHyehh3/WCDVCnI4M7ftONpsTVRrQ+Hml89teUH9/1xXUOpbCeVghWr1rumLcQzMqLKNj2lP/gm9co2/DKpxiUPUzBfO/9Jvl1CNoEwPYQBRNb38kggDvAT4vKX38Oi5sZvumFEO4L0y7o4cW6SA4/CYIykfxOdkrryt8ltfWwopdy3I/DothYw31vJ9GsZOCAShFRAy3hJxYUbHhT+7SDUBadVSEkb4UqxQ+7zntAVT+Lp4DXLAfvsWxZGrQoP/IrWAgNOLRKILubpzh+YpadMH3Ygha2JRAeJAEZ3DnXf3vOOAucWnk4mNXDbW35GTDTAJDWMvddZCfsrUI/uHxgaRjFs9fLX1X5tqhGnsr27sKLWyX+zrIPVV0TPl3AzYPAf6Bc8Okeu+JEGQERvvgSasCuYcmhgYznBVJI="
+  file_glob: true
   file: 
-    - "NetHack.zip"
+    - "NetHack-x86-beta$TRAVIS_TAG.zip"
   skip_cleanup: true
   on:
     tags: true
   prerelease: true
-  name: "Pre-release build of NetHack 3.6.3"
-  body: "This is auto generated pre-release build of NetHack 3.6.3 and as such has not been tested."
+  name: "Pre-release travis_test of NetHack 3.6.3"
+  body: "This is auto generated pre-release travis_test build of NetHack 3.6.3."
index 09b4b9822bd63803fd1ad6f04d56c84073311dfc..819de56a9b1bedbaf284f813be125dd04baad17a 100644 (file)
@@ -1,3 +1,4 @@
+set -x
 export VSVER=2017
 export MSVER=14.16.27023
 export SDKVER=10.0.17763.0
@@ -26,8 +27,11 @@ export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/10/lib/$WKITVER/um/x86:$LIB
 git clone --depth 1 https://github.com/wmcbrine/PDCurses.git ../pdcurses
 export ADD_CURSES=Y
 export PDCURSES_TOP=../../pdcurses
+export
 cd src
 cp ../sys/winnt/Makefile.msc ./Makefile
 nmake install
 cd ..
-powershell -Command "Compress-Archive -U -Path binary/*.* -DestinationPath NetHack.zip"
+powershell -Command "Compress-Archive -U -Path binary/*.* -DestinationPath NetHack-x86-beta$TRAVIS_TAG.zip"
+
+