aboutsummaryrefslogtreecommitdiff
path: root/src/internal/SetBuildNumber/SomeVerInit.verproj
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2024-04-07 03:26:12 -0700
committerRob Mensching <rob@firegiant.com>2024-04-25 13:31:39 -0700
commit4983aeeb2da6e96bc8aad698752b3b962f58e585 (patch)
tree40a5eee15554c599086f12d0d426ba37060b050a /src/internal/SetBuildNumber/SomeVerInit.verproj
parent973a1764223d7313beef03a66f6218905b07870b (diff)
downloadwix-4983aeeb2da6e96bc8aad698752b3b962f58e585.tar.gz
wix-4983aeeb2da6e96bc8aad698752b3b962f58e585.tar.bz2
wix-4983aeeb2da6e96bc8aad698752b3b962f58e585.zip
Move to ReleaseFlow and SomeVer
Diffstat (limited to 'src/internal/SetBuildNumber/SomeVerInit.verproj')
-rw-r--r--src/internal/SetBuildNumber/SomeVerInit.verproj33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/internal/SetBuildNumber/SomeVerInit.verproj b/src/internal/SetBuildNumber/SomeVerInit.verproj
new file mode 100644
index 00000000..7d963267
--- /dev/null
+++ b/src/internal/SetBuildNumber/SomeVerInit.verproj
@@ -0,0 +1,33 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4<Project Sdk="SomeVer/0.1.1">
5 <PropertyGroup>
6 <TargetFramework>netstandard2.0</TargetFramework>
7
8 <!-- Disable central package version management since this project will write the central package version management file -->
9 <ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
10
11 <!-- Explicitly set the restore sources because this project may run before the build\artifacts folder has been created -->
12 <RestoreSources>https://api.nuget.org/v3/index.json</RestoreSources>
13 <RestoreIgnoreFailedSources>true</RestoreIgnoreFailedSources>
14
15 <!-- SomeVer configuration -->
16 <SomeVerAutoIncrement>major</SomeVerAutoIncrement>
17 <SomeVerDefaultPreReleaseIdentifiers>build</SomeVerDefaultPreReleaseIdentifiers>
18 <SomeVerIncludeDefaultPreReleaseIdentifiersWithPrereleases>true</SomeVerIncludeDefaultPreReleaseIdentifiersWithPrereleases>
19 <SomeVerTagPrefix>v</SomeVerTagPrefix>
20
21 <!-- Pretend that the SomeVer information was imported because we'll actually be creating it here -->
22 <SomeVerInfoImported>true</SomeVerInfoImported>
23 </PropertyGroup>
24
25 <ItemGroup>
26 <VersionTemplate Include="global.json.pp" OutputPath="$(GlobalJsonFile)" />
27 <VersionTemplate Include="Directory.Packages.props.pp" OutputPath="$(CentralPackageVersionsPath)" />
28 <VersionTemplate Include="SomeVerInfo.cs.pp" OutputPath="$(SomeVerInfoCsFile)" />
29 <VersionTemplate Include="SomeVerInfo.rc.pp" OutputPath="$(SomeVerInfoRcFile)" />
30 <VersionTemplate Include="SomeVerInfo.props.pp" OutputPath="$(SomeVerInfoPropsFile)" />
31 </ItemGroup>
32
33</Project>