diff --git a/custom-steps/libzip/post-build.ps1 b/custom-steps/libzip/post-build.ps1 new file mode 100644 index 00000000..52620dfe --- /dev/null +++ b/custom-steps/libzip/post-build.ps1 @@ -0,0 +1,10 @@ +param ( + [Parameter(Mandatory=$true)][string]$BuildArtifactsPath +) + +Import-Module "$PSScriptRoot/../../ps-modules/Build" -DisableNameChecking -Force + +if (-not (Get-IsOnWindowsOS)) { + exit +} +Update-VersionInfoForDlls -buildArtifactsPath $buildArtifactsPath -versionInfoJsonPath "$PSScriptRoot/version-info.json" diff --git a/custom-steps/libzip/version-info.json b/custom-steps/libzip/version-info.json new file mode 100644 index 00000000..cd662679 --- /dev/null +++ b/custom-steps/libzip/version-info.json @@ -0,0 +1,12 @@ +{ + "files": [ + { + "filename": "bin/zip.dll", + "fileDescription": "library for handling zip archives", + "fileVersion": "1.9.2", + "productName": "libzip", + "productVersion": "1.9.2", + "copyright": "Copyright (C) 1999-2021 Dieter Baron and Thomas Klausner" + } + ] +}