Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increment Microsoft.Azure.Functions.Worker.Extensions.WebPubSub version #44880

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/dev/Versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ They will use the following format which is also used by the .NET team:
```
FILEMAJOR.FILEMINOR.FILEPATCH.FILEREVISION
```
- `FILEMAJOR`: Specified in the first part of `VersionPrefix` property.
- `FILEMINOR`: Set to `MINOR * 100 + PATCH / 100`, where `MINOR` and `PATCH` are the 2nd and 3rd parts of `VersionPrefix` property.
- `FILEMAJOR`: Specified in the first part of `Version` property.
- `FILEMINOR`: Set to `MINOR * 100 + PATCH / 100`, where `MINOR` and `PATCH` are the 2nd and 3rd parts of `Version` property.
- `FILEPATCH`: Set to `(PATCH % 100) * 100 + yy`.
- `FILEREVISION`: Set to `(50 * mm + dd) * 100 + r`. This algorithm makes it easy to parse the month and date from `FILEREVISION` while staying in the range of a short which is what a version element uses.

Expand Down
5 changes: 5 additions & 0 deletions eng/scripts/Update-PkgVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ $csproj.Load($csprojPath)
$propertyGroup = ($csproj | Select-Xml "Project/PropertyGroup/Version").Node.ParentNode
$packageVersion = $propertyGroup.Version

if (!$packageVersion) {
Write-Error "Could not find the <Version> element in your project $csprojPath, be sure it has a Version property and not a VersionPrefix property."
exit 1
}

$packageSemVer = [AzureEngSemanticVersion]::new($packageVersion)
$packageOldSemVer = [AzureEngSemanticVersion]::new($packageVersion)
Write-Host "Current Version: ${PackageVersion}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release History

## 1.8.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 1.7.0 (2024-07-01)

### Features Added
Expand All @@ -13,4 +23,4 @@
## 1.5.0-beta.1 (2023-04-27)

### Features Added
- Initial beta release
- Initial beta release
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>Microsoft.Azure.Functions.Worker.Extensions.WebPubSub</PackageId>
<PackageTags>Azure, WebPubSub</PackageTags>
<Description>Azure Web PubSub Service extensions for .NET isolated functions</Description>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
<Nullable>annotations</Nullable>
<!--Version information-->
<VersionPrefix>1.7.0</VersionPrefix>
<Version>1.8.0-beta.1</Version>
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
<ApiCompatVersion>1.7.0</ApiCompatVersion>
<NoWarn>$(NoWarn);CA2227</NoWarn>
<IsExtensionClientLibrary>true</IsExtensionClientLibrary>
</PropertyGroup>
Expand Down
Loading