Skip to content

Commit 66ddc27

Browse files
authored
Use Private Nuget Feed for OneBranch (#4557) (#4559)
1 parent 4c61684 commit 66ddc27

12 files changed

+24
-10
lines changed

.azure/OneBranch.Package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ extends:
9595
ob_createvpack_owneralias: quicdev
9696
ob_createvpack_description: msquic.$(Build.SourceBranchName)
9797
ob_createvpack_versionAs: string
98-
ob_createvpack_version: 2.4.4-$(Build.BuildId)
98+
ob_createvpack_version: 2.4.5-$(Build.BuildId)
9999
steps:
100100
- task: DownloadPipelineArtifact@2
101101
inputs:

.azure/nuget.config

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<clear />
5+
<add key="msquic_PublicPackages" value="https://pkgs.dev.azure.com/mscodehub/msquic/_packaging/msquic_PublicPackages/nuget/v3/index.json" />
6+
</packageSources>
7+
</configuration>

.azure/obtemplates/build-winkernel.yml

+8
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ jobs:
1313
ob_sdl_codeSignValidation_excludes: -|**\*.sys # Disable signing requirements for KM builds
1414
ob_spgo_enabled: true # Enable SPGO
1515
steps:
16+
- task: NuGetCommand@2
17+
displayName: Nuget Restore
18+
target: windows_build_container2
19+
inputs:
20+
command: 'restore'
21+
restoreSolution: msquic.kernel.sln
22+
feedsToUse: 'config'
23+
nugetConfigPath: .\.azure\nuget.config
1624
- script: scripts\onebranch-build-kernel.cmd ${{ parameters.config }} x64
1725
displayName: x64
1826
target: windows_build_container2

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ message(STATUS "Platform version: ${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}")
5656
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
5757

5858
set(QUIC_MAJOR_VERSION 2)
59-
set(QUIC_FULL_VERSION 2.4.4)
59+
set(QUIC_FULL_VERSION 2.4.5)
6060

6161
if (WIN32)
6262
set(CX_PLATFORM "windows")

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "msquic"
3-
version = "2.4.4-beta"
3+
version = "2.4.5-beta"
44
edition = "2018"
55
authors = ["Microsoft"]
66
description = "Microsoft implementation of the IETF QUIC protocol"

scripts/onebranch-build-kernel.cmd

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat
2-
msbuild msquic.kernel.sln -t:restore -p:RestorePackagesConfig=true /p:Configuration=%1 /p:Platform=%2
32
msbuild msquic.kernel.sln -p:ONEBRANCH_BUILD=true /p:Configuration=%1 /p:Platform=%2 /p:QUIC_VER_SUFFIX=-official /p:QUIC_VER_BUILD_ID=%BUILD_BUILDID% /p:QUIC_VER_GIT_HASH=%BUILD_SOURCEVERSION%

scripts/package-distribution.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $ArtifactsBinDir = Join-Path $BaseArtifactsDir "bin"
2424
# All direct subfolders are OS's
2525
$Platforms = Get-ChildItem -Path $ArtifactsBinDir
2626

27-
$Version = "2.4.4"
27+
$Version = "2.4.5"
2828

2929
$WindowsBuilds = @()
3030
$AllBuilds = @()

scripts/package-nuget.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ $DistDir = Join-Path $BaseArtifactsDir "dist"
153153
$CurrentCommitHash = Get-GitHash -RepoDir $RootDir
154154
$RepoRemote = Get-GitRemote -RepoDir $RootDir
155155

156-
$Version = "2.4.4"
156+
$Version = "2.4.5"
157157

158158
$BuildId = $env:BUILD_BUILDID
159159
if ($null -ne $BuildId) {

scripts/write-versions.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $ArtifactsDir = $BuildConfig.ArtifactsDir
2626
$SourceVersion = $env:BUILD_SOURCEVERSION;
2727
$SourceBranch = $env:BUILD_SOURCEBRANCH;
2828
$BuildId = $env:BUILD_BUILDID;
29-
$VersionNumber = "2.4.4";
29+
$VersionNumber = "2.4.5";
3030

3131
class BuildData {
3232
[string]$SourceVersion;

src/distribution/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleInfoDictionaryVersion</key>
2020
<string>6.0</string>
2121
<key>CFBundleVersion</key>
22-
<string>2.4.4</string>
22+
<string>2.4.5</string>
2323
<key>NSHumanReadableCopyright</key>
2424
<string>MIT</string>
2525
<key>CFBundleGetInfoString</key>

src/inc/msquic.ver

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#endif
1313

1414
#ifndef VER_PATCH
15-
#define VER_PATCH 4
15+
#define VER_PATCH 5
1616
#endif
1717

1818
#ifndef VER_BUILD_ID

version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "major": 2, "minor": 4, "patch": 4 }
1+
{ "major": 2, "minor": 4, "patch": 5 }

0 commit comments

Comments
 (0)