Skip to content

Commit

Permalink
Added license expression for NUGET packages
Browse files Browse the repository at this point in the history
updated version to rc.1
  • Loading branch information
smaillet committed Feb 28, 2020
1 parent 2f50c11 commit d4c9e24
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions BuildVersion.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
BuildMinor = "0"
BuildPatch = "0"
PreReleaseName = "rc"
PreReleaseNumber="1"
/>
4 changes: 4 additions & 0 deletions Publish-Release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ $preReleaseSuffix=""
if(![string]::IsNullOrWhiteSpace($buildVersionData.PreReleaseName))
{
$preReleaseSuffix = "-$($buildVersionData.PreReleaseName)"
if(![string]::IsNullOrWhiteSpace($buildVersionData.PreReleaseNumber))
{
$preReleaseSuffix += ".$($buildVersionData.PreReleaseNumber)"
}
}

$tagName = "v.$($buildVersionData.BuildMajor).$($buildVersionData.BuildMinor).$($buildVersionData.BuildPatch)$preReleaseSuffix"
Expand Down
1 change: 1 addition & 0 deletions src/Interop/Llvm.NET.Interop/Llvm.NET.Interop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/UbiquityDotNET/Llvm.Net.git</RepositoryUrl>
<PackageProjectUrl>https://github.com/UbiquityDotNET/Llvm.Net</PackageProjectUrl>
<PackageLicenseExpression>NCSA</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup>
<Content Include="..\..\..\BuildOutput\bin\LibLLVM\$(Configuration)\x64\LibLLVM.dll" Link="runtimes\win-x64\native\LibLLVM.dll">
Expand Down
1 change: 1 addition & 0 deletions src/Llvm.NET/Llvm.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<PackageProjectUrl>https://github.com/UbiquityDotNET/Llvm.Net</PackageProjectUrl>
<RepositoryUrl>https://github.com/UbiquityDotNET/Llvm.NET.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>NCSA</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup>
<!--Keep docfx generated OBJ folder junk from cluttering solution view-->
Expand Down

0 comments on commit d4c9e24

Please sign in to comment.