appveyor: Retain selected build artifacts
authorTormod Volden <debian.tormod@gmail.com>
Sat, 29 Jan 2022 21:04:08 +0000 (22:04 +0100)
committerTormod Volden <debian.tormod@gmail.com>
Sat, 29 Jan 2022 23:00:32 +0000 (00:00 +0100)
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
appveyor.yml
libusb/version_nano.h

index 36cfa96..6977ab3 100644 (file)
@@ -70,3 +70,11 @@ for:
         - image: Visual Studio 2019
     build:
       project: msvc\libusb_2019.sln
+
+after_build:
+  - cmd: ECHO This was built by %APPVEYOR_BUILD_WORKER_IMAGE% from %APPVEYOR_REPO_NAME% commit %APPVEYOR_REPO_COMMIT% > README-build.txt
+  - cmd: ECHO > tag_%APPVEYOR_REPO_TAG_NAME%_commit_%APPVEYOR_REPO_COMMIT%
+  - cmd: 7z a "libusb-build_%APPVEYOR_BUILD_WORKER_IMAGE%_%PLATFORM%_%CONFIGURATION%.7z" tag_* README-build.txt %PLATFORM%\%CONFIGURATION%\dll\*.* %PLATFORM%\%CONFIGURATION%\lib\*.* %PLATFORM%\%CONFIGURATION%\examples\*.exe %PLATFORM%\%CONFIGURATION%\tests\*.exe
+
+artifacts:
+  - path: "libusb-build_%APPVEYOR_BUILD_WORKER_IMAGE%_%PLATFORM%_%CONFIGURATION%.7z"
index ae20d7d..a58a25f 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11690
+#define LIBUSB_NANO 11691