From 44272f60bfe86be1d36ec4586f1078db0ba2afbe Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 4 Oct 2023 15:31:43 -0400 Subject: [PATCH] Try out using version number in AppVeyor --- CHANGELIST.md | 1 + appveyor.yml | 80 +++++++++++++++++++++++++-------------------------- 2 files changed, 41 insertions(+), 40 deletions(-) diff --git a/CHANGELIST.md b/CHANGELIST.md index b8ffca93..b90c81e0 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -3,6 +3,7 @@ - Try alternate archive naming - Publish, but don't package, release builds - Add note about git being required +- Try out using version number in AppVeyor ### 2.6.6 (2023-10-04) diff --git a/appveyor.yml b/appveyor.yml index f198c7ac..01e5d878 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -88,51 +88,51 @@ after_build: # Create MPF Debug archives - cd %APPVEYOR_BUILD_FOLDER%\MPF\bin\Debug\net48\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_net48_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_%APPVEYOR_BUILD_ID%_net48_debug.zip * - cd %APPVEYOR_BUILD_FOLDER%\MPF\bin\Debug\net6.0-windows\win-x64\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_net6.0_win-x64_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_%APPVEYOR_BUILD_ID%_net6.0_win-x64_debug.zip * - cd %APPVEYOR_BUILD_FOLDER%\MPF\bin\Debug\net7.0-windows\win-x64\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_net7.0_win-x64_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_%APPVEYOR_BUILD_ID%_net7.0_win-x64_debug.zip * # # Create MPF Release archives # - cd %APPVEYOR_BUILD_FOLDER%\MPF\bin\Release\net48\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_net48_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_%APPVEYOR_BUILD_ID%_net48_release.zip * # - cd %APPVEYOR_BUILD_FOLDER%\MPF\bin\Release\net6.0-windows\win-x64\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_net6.0_win-x64_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_%APPVEYOR_BUILD_ID%_net6.0_win-x64_release.zip * # - cd %APPVEYOR_BUILD_FOLDER%\MPF\bin\Release\net7.0-windows\win-x64\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_net7.0_win-x64_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF_%APPVEYOR_BUILD_ID%_net7.0_win-x64_release.zip * # Create MPF.Check Debug archives - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Debug\net48\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net48_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net48_debug.zip * - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Debug\net6.0\win-x64\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net6.0_win-x64_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_win-x64_debug.zip * - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Debug\net6.0\linux-x64\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net6.0_linux-x64_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_linux-x64_debug.zip * - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Debug\net6.0\osx-x64\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net6.0_osx-x64_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_osx-x64_debug.zip * - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Debug\net7.0\win-x64\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net7.0_win-x64_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_win-x64_debug.zip * - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Debug\net7.0\linux-x64\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net7.0_linux-x64_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_linux-x64_debug.zip * - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Debug\net7.0\osx-x64\publish\ -- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net7.0_osx-x64_debug.zip * +- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_osx-x64_debug.zip * # # Create MPF.Check Release archives # - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Release\net48\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net48_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net48_release.zip * # - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Release\net6.0\win-x64\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net6.0_win-x64_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_win-x64_release.zip * # - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Release\net6.0\linux-x64\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net6.0_linux-x64_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_linux-x64_release.zip * # - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Release\net6.0\osx-x64\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net6.0_osx-x64_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_osx-x64_release.zip * # - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Release\net7.0\win-x64\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net7.0_win-x64_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_win-x64_release.zip * # - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Release\net7.0\linux-x64\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net7.0_linux-x64_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_linux-x64_release.zip * # - cd %APPVEYOR_BUILD_FOLDER%\MPF.Check\bin\Release\net7.0\osx-x64\publish\ -# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_net7.0_osx-x64_release.zip * +# - 7z a -tzip %APPVEYOR_BUILD_FOLDER%\MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_osx-x64_release.zip * # success/failure tracking on_success: @@ -144,46 +144,46 @@ on_failure: # artifact linking artifacts: -- path: MPF_net48_debug.zip +- path: MPF_%APPVEYOR_BUILD_ID%_net48_debug.zip name: MPF (.NET Framework 4.8, Debug) -- path: MPF_net6.0_win-x64_debug.zip +- path: MPF_%APPVEYOR_BUILD_ID%_net6.0_win-x64_debug.zip name: MPF (.NET 6.0, Debug, Windows x64) -- path: MPF_net7.0_win-x64_debug.zip +- path: MPF_%APPVEYOR_BUILD_ID%_net7.0_win-x64_debug.zip name: MPF (.NET 7.0, Debug, Windows x64) -# - path: MPF_net48_release.zip +# - path: MPF_%APPVEYOR_BUILD_ID%_net48_release.zip # name: MPF (.NET Framework 4.8, Release) -# - path: MPF_net6.0_win-x64_release.zip +# - path: MPF_%APPVEYOR_BUILD_ID%_net6.0_win-x64_release.zip # name: MPF (.NET 6.0, Release, Windows x64) -# - path: MPF_net7.0_win-x64_release.zip +# - path: MPF_%APPVEYOR_BUILD_ID%_net7.0_win-x64_release.zip # name: MPF (.NET 7.0, Release, Windows x64) -- path: MPF.Check_net48_debug.zip +- path: MPF.Check_%APPVEYOR_BUILD_ID%_net48_debug.zip name: MPF Check (.NET Framework 4.8, Debug) -- path: MPF.Check_net6.0_win-x64_debug.zip +- path: MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_win-x64_debug.zip name: MPF.Check (.NET 6.0, Debug, Windows x64) -- path: MPF.Check_net6.0_linux-x64_debug.zip +- path: MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_linux-x64_debug.zip name: MPF.Check (.NET 6.0, Debug, Linux x64) -- path: MPF.Check_net6.0_osx-x64_debug.zip +- path: MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_osx-x64_debug.zip name: MPF.Check (.NET 6.0, Debug, OSX x64) -- path: MPF.Check_net7.0_win-x64_debug.zip +- path: MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_win-x64_debug.zip name: MPF.Check (.NET 7.0, Debug, Windows x64) -- path: MPF.Check_net7.0_linux-x64_debug.zip +- path: MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_linux-x64_debug.zip name: MPF.Check (.NET 7.0, Debug, Linux x64) -- path: MPF.Check_net7.0_osx-x64_debug.zip +- path: MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_osx-x64_debug.zip name: MPF.Check (.NET 7.0, Debug, OSX x64) -# - path: MPF.Check_net48_release.zip +# - path: MPF.Check_%APPVEYOR_BUILD_ID%_net48_release.zip # name: MPF Check (.NET Framework 4.8, Release) -# - path: MPF.Check_net6.0_win-x64_release.zip +# - path: MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_win-x64_release.zip # name: MPF.Check (.NET 6.0, Release, Windows x64) -# - path: MPF.Check_net6.0_linux-x64_release.zip +# - path: MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_linux-x64_release.zip # name: MPF.Check (.NET 6.0, Release, Linux x64) -# - path: MPF.Check_net6.0_osx-x64_release.zip +# - path: MPF.Check_%APPVEYOR_BUILD_ID%_net6.0_osx-x64_release.zip # name: MPF.Check (.NET 6.0, Release, OSX x64) -# - path: MPF.Check_net7.0_win-x64_release.zip +# - path: MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_win-x64_release.zip # name: MPF.Check (.NET 7.0, Release, Windows x64) -# - path: MPF.Check_net7.0_linux-x64_release.zip +# - path: MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_linux-x64_release.zip # name: MPF.Check (.NET 7.0, Release, Linux x64) -# - path: MPF.Check_net7.0_osx-x64_release.zip +# - path: MPF.Check_%APPVEYOR_BUILD_ID%_net7.0_osx-x64_release.zip # name: MPF.Check (.NET 7.0, Release, OSX x64)