-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add expat post-build versioning step
- Loading branch information
1 parent
2a1b2fb
commit a98322c
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
param ( | ||
[Parameter(Mandatory=$true)][string]$BuildArtifactsPath | ||
) | ||
|
||
Import-Module "$PSScriptRoot/../../ps-modules/Build" -DisableNameChecking -Force | ||
|
||
if ((Get-IsOnMacOS)) { | ||
Remove-DylibSymlinks -BuildArtifactsPath $BuildArtifactsPath | ||
} | ||
elseif((Get-IsOnWindowsOS)) { | ||
Update-VersionInfoForDlls -buildArtifactsPath $buildArtifactsPath -versionInfoJsonPath "$PSScriptRoot/version-info.json" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"files": [ | ||
{ | ||
"filename": "bin/libexpat.dll", | ||
"fileDescription": "Expat XML Parser 2.5.0", | ||
"fileVersion": "2.5.0", | ||
"productName": "Expat 2.5.0", | ||
"productVersion": "2.5.0", | ||
"copyright": "Copyright © 1997-2022 Thai Open Source Software Center, Clark Cooper, and the Expat maintainers" | ||
} | ||
] | ||
} |