File tree Expand file tree Collapse file tree 6 files changed +79
-1
lines changed
Expand file tree Collapse file tree 6 files changed +79
-1
lines changed Original file line number Diff line number Diff line change 1616[Rr ]eleases /
1717x64 /
1818x86 /
19- build /
2019bld /
2120[Bb ]in /
2221[Oo ]bj /
Original file line number Diff line number Diff line change 1+ Param (
2+ [string ]$Version ,
3+ [string ]$Suffix
4+ )
5+
6+ Push-Location $PSScriptRoot
7+
8+ [xml ]$versionXml = Get-Content .\version.props
9+ $versionXml.Project.PropertyGroup.VersionPrefix = $Version
10+ $versionXml.Project.PropertyGroup.VersionSuffix = $Suffix
11+ $versionXml.Save (" $PSScriptRoot \version.props" )
12+
13+ Pop-Location
Original file line number Diff line number Diff line change 1+ <Project ToolsVersion =" 15.0" >
2+ <Import Project =" version.props" />
3+
4+ <PropertyGroup >
5+ <ProjectParentDirectory >$([System.IO.Path]::GetDirectoryName('$(MSBuildProjectDirectory)'))</ProjectParentDirectory >
6+ <ProjectParentDirectoryName >$([System.IO.Path]::GetFileName('$(ProjectParentDirectory)'))</ProjectParentDirectoryName >
7+ </PropertyGroup >
8+
9+ <Import Project =" sourcelink.props" Condition =" '$(ProjectParentDirectoryName)' == 'src'" />
10+
11+ <PropertyGroup >
12+ <Product >Exceptionless RandomData Generator</Product >
13+ <Description >Exceptionless RandomData Generator</Description >
14+ <Copyright >Copyright (c) 2017 Exceptionless. All rights reserved.</Copyright >
15+ <Authors >bniemyjski;ejsmith</Authors >
16+ <NoWarn >$(NoWarn);CS1591</NoWarn >
17+ <WarningsAsErrors >true</WarningsAsErrors >
18+ <DebugType >portable</DebugType >
19+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
20+ <PackageOutputPath >$(SolutionDir)artifacts\</PackageOutputPath >
21+
22+ <PackageReleaseNotes >https://github.com/exceptionless/Exceptionless.RandomData/releases</PackageReleaseNotes >
23+ <PackageIconUrl >https://be.exceptionless.io/img/exceptionless-32.png</PackageIconUrl >
24+ <PackageProjectUrl >https://github.com/exceptionless/Exceptionless.RandomData</PackageProjectUrl >
25+ <PackageLicenseUrl >http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl >
26+ <RepositoryType >git</RepositoryType >
27+ <RepositoryUrl >https://github.com/exceptionless/Exceptionless.RandomData</RepositoryUrl >
28+ <VersionSuffix Condition =" '$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''" >$(VersionSuffix)-$(BuildNumber)</VersionSuffix >
29+ </PropertyGroup >
30+ </Project >
Original file line number Diff line number Diff line change 1+ <Project >
2+
3+ <PropertyGroup >
4+ <DebugType >embedded</DebugType >
5+ </PropertyGroup >
6+
7+ <ItemGroup >
8+ <PackageReference Include =" SourceLink.Create.GitHub" Version =" 2.0.2" PrivateAssets =" all" />
9+ <DotNetCliToolReference Include =" dotnet-sourcelink-git" Version =" 2.0.2" />
10+ <DotNetCliToolReference Include =" dotnet-sourcelink" Version =" 2.0.2" />
11+ </ItemGroup >
12+
13+ </Project >
Original file line number Diff line number Diff line change 1+ <Project ToolsVersion =" 15.0" >
2+ <PropertyGroup >
3+ <IsPackable >False</IsPackable >
4+ </PropertyGroup >
5+
6+ <PropertyGroup Condition =" $(TargetFramework.StartsWith('netcoreapp'))" >
7+ <DefineConstants >$(DefineConstants);NETSTANDARD</DefineConstants >
8+ </PropertyGroup >
9+
10+ <ItemGroup >
11+ <PackageReference Include =" Foundatio.Logging.Xunit" Version =" 5.0.1336" />
12+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.0.0" />
13+ <PackageReference Include =" xunit" Version =" 2.2.0" />
14+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.2.0" />
15+ </ItemGroup >
16+ </Project >
Original file line number Diff line number Diff line change 1+ <!-- This file may be overwritten by automation. Only values allowed here are VersionPrefix and VersionSuffix. -->
2+ <Project >
3+ <PropertyGroup >
4+ <VersionPrefix >1.0.0</VersionPrefix >
5+ <VersionSuffix >dev</VersionSuffix >
6+ </PropertyGroup >
7+ </Project >
You can’t perform that action at this time.
0 commit comments