Added revived version stamping utility

This commit is contained in:
Benjamin Höglinger-Stelzer
2020-01-30 20:18:48 +01:00
parent d66c093626
commit e73a217581

View File

@@ -7,15 +7,15 @@ configuration:
- Release
install:
- cmd: git submodule -q update --init
before_build:
- ps: |
Invoke-WebRequest "https://downloads.vigem.org/other/nefarius/vpatch/vpatch.exe" -OutFile vpatch.exe
.\vpatch.exe --version "$env:APPVEYOR_BUILD_VERSION" --target-file ".\sys\ViGEmBus.vcxproj" --vcxproj.inf-time-stamp
.\vpatch.exe --version "$env:APPVEYOR_BUILD_VERSION" --target-file ".\sys\ViGEmBus.rc" --resource.file-version --resource.product-version
build:
project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln
#after_build:
#- ps: |
# Invoke-WebRequest "https://downloads.vigem.org/other/pavel-a/ddverpatch/verpatch-1.0.15.1-x86-codeplex.zip" -OutFile verpatch-1.0.15.1-x86-codeplex.zip
# Expand-Archive verpatch-1.0.15.1-x86-codeplex.zip -DestinationPath .
# .\verpatch.exe ".\bin\$env:PLATFORM\ViGEmBus.sys" "$env:APPVEYOR_BUILD_VERSION"
# .\verpatch.exe ".\bin\$env:PLATFORM\ViGEmBus.sys" /pv "$env:APPVEYOR_BUILD_VERSION"
# makecab.exe /f ViGEmBus.ddf
after_build:
- cmd: makecab.exe /f ViGEmBus.ddf
artifacts:
- path: 'bin**\$(APPVEYOR_PROJECT_NAME)\*.inf'
- path: 'bin**\$(APPVEYOR_PROJECT_NAME)\*.sys'