Skip to content

Commit edc38a8

Browse files
authored
chore: Replace <Version> with <VersionPrefix> to allow use of <VersionSuffix> (#3447)
1 parent a11f103 commit edc38a8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<Version>4.7.0</Version>
4+
<VersionPrefix>4.7.0</VersionPrefix>
55
<LangVersion>12</LangVersion>
66
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

integration-test/common.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ BeforeAll {
6060

6161
function GetSentryPackageVersion()
6262
{
63-
(Select-Xml -Path "$PSScriptRoot/../Directory.Build.props" -XPath "/Project/PropertyGroup/Version").Node.InnerText
63+
(Select-Xml -Path "$PSScriptRoot/../Directory.Build.props" -XPath "/Project/PropertyGroup/VersionPrefix").Node.InnerText
6464
}
6565

6666
function RegisterLocalPackage([string] $name)

scripts/bump-version.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ function Replace-TextInFile {
1010
}
1111

1212
# Version of .NET assemblies:
13-
Replace-TextInFile "$PSScriptRoot/../Directory.Build.props" '(?<=<Version>)(.*?)(?=</Version>)' $newVersion
13+
Replace-TextInFile "$PSScriptRoot/../Directory.Build.props" '(?<=<VersionPrefix>)(.*?)(?=</VersionPrefix>)' $newVersion

src/Sentry.AspNetCore.Blazor.WebAssembly/Sentry.AspNetCore.Blazor.WebAssembly.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
5-
<VersionSuffix>-preview.1</VersionSuffix>
5+
<VersionSuffix>preview.1</VersionSuffix>
66
<RootNamespace>Sentry.AspNetCore.Blazor.WebAssembly</RootNamespace>
77
</PropertyGroup>
88

0 commit comments

Comments
 (0)