Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Use NBGV for package versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
sandyarmstrong committed Aug 5, 2022
1 parent b38d0b3 commit a0a6f02
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
1 change: 0 additions & 1 deletion Core/MonoDevelop.Xml.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>MonoDevelop.Xml.Core</PackageId>
<Version>1.0.0</Version>
<Authors>mhutch, Microsoft</Authors>
<Company>Microsoft</Company>
<Summary>A full-fidelity XML parser</Summary>
Expand Down
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.5.107" PrivateAssets="all" />
</ItemGroup>

</Project>
1 change: 0 additions & 1 deletion Editor/MonoDevelop.Xml.Editor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>MonoDevelop.Xml.Editor</PackageId>
<Version>1.0.0</Version>
<Authors>mhutch, Microsoft</Authors>
<Company>Microsoft</Company>
<Summary>A full-fidelity XML language service</Summary>
Expand Down
18 changes: 18 additions & 0 deletions version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.0.0",
"publicReleaseRefSpec": [
"^refs/tags/v\\d+\\.\\d+$",
"^refs/tags/v\\d+\\.\\d+\\.\\d+$"
],
"cloudBuild": {
"buildNumber": {
"enabled": true
}
},
"release": {
"branchName": "release/v{version}",
"firstUnstableTag": "preview"
}
}

0 comments on commit a0a6f02

Please sign in to comment.