mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Upgrade libsrt from 1.4.1 to 1.5.1. v6.0.12 (#3362)
Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
7a56208f2f
commit
fe086dfc31
143 changed files with 38185 additions and 15108 deletions
|
@ -27,13 +27,22 @@ if($Env:APPVEYOR){
|
|||
Update-AppveyorBuild -Version "$majorVer.$minorVer.$patchVer.$buildNum"
|
||||
$FileDescriptionBranchCommitValue = "$Env:APPVEYOR_REPO_NAME - $($Env:APPVEYOR_REPO_BRANCH) ($($Env:APPVEYOR_REPO_COMMIT.substring(0,8)))"
|
||||
}
|
||||
if($Env:TEAMCITY_VERSION){
|
||||
#make TeamCity update with this new version number
|
||||
Write-Output "##teamcity[buildNumber '$majorVer.$minorVer.$patchVer.$buildNum']"
|
||||
Write-Output "##teamcity[setParameter name='MajorVersion' value='$majorVer']"
|
||||
Write-Output "##teamcity[setParameter name='MinorVersion' value='$minorVer']"
|
||||
Write-Output "##teamcity[setParameter name='PatchVersion' value='$patchVer']"
|
||||
Write-Output "##teamcity[setParameter name='BuildVersion' value='$buildNum']"
|
||||
$FileDescriptionBranchCommitValue = "$majorVer.$minorVer.$patchVer.$buildNum - ($($Env:BUILD_VCS_NUMBER.substring(0,8)))"
|
||||
}
|
||||
|
||||
#find C++ resource files and update file description with branch / commit details
|
||||
$FileDescriptionStringRegex = '(\bVALUE\s+\"FileDescription\"\s*\,\s*\")([^\"]*\\\")*[^\"]*(\")'
|
||||
|
||||
Get-ChildItem -Path "./srtcore/srt_shared.rc" | ForEach-Object {
|
||||
Get-ChildItem -Path "../srtcore/srt_shared.rc" | ForEach-Object {
|
||||
$fileName = $_
|
||||
Write-Host "Processing metadata changes for file: $fileName"
|
||||
Write-Output "Processing metadata changes for file: $fileName"
|
||||
|
||||
$FileLines = Get-Content -path $fileName
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue