Skip to content

Commit ed8b9c3

Browse files
committed
bump minor version & pushed to NuGet
1 parent 88748a3 commit ed8b9c3

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

Publish-Release.ps1

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
param (
2-
[Parameter(Mandatory=$true)][string]$apiKey
2+
[Parameter(Mandatory=$true)][string]$apiKey,
3+
[Parameter(Mandatory=$false)][bool]$RemovePrevNuPkg = $true
34
)
45

56
$branch = invoke-expression "git branch --show-current"
@@ -14,6 +15,14 @@ $projPaths = @(
1415
"./AMT.Extensions.System"
1516
)
1617

18+
if ($RemovePrevNuPkg) {
19+
Write-Verbose "Removing previous NuPkg files"
20+
$projPaths | %{
21+
write-host "" # separator
22+
Remove-Item $_/bin/Release/*.nupkg
23+
}
24+
}
25+
1726
# Ensure everything is built
1827
Write-Verbose "Pack projects"
1928
$projPaths | %{

common.prod.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
<!-- NuGet package attributes -->
77
<PropertyGroup>
8-
<PackageTags>core;extensions;base64url;logging</PackageTags>
8+
<PackageTags>.NET;extensions;base64url;logging</PackageTags>
99
<PackageProjectUrl>https://github.com/AltaModaTech/netcore-extensions</PackageProjectUrl>
1010
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1111
<PackageReadmeFile>README.md</PackageReadmeFile>
12-
<Description>A few LINQ Extensions we find useful.</Description>
13-
<PackageReleaseNotes>Includes LabeledCollection; README for each package</PackageReleaseNotes>
12+
<Description>A few Extensions to .NET's System namespace we find useful.</Description>
13+
<PackageReleaseNotes>Deprecates labeled collections</PackageReleaseNotes>
1414
</PropertyGroup>
1515

1616
<ItemGroup>

common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!-- Associate test assemblies with AltaModa Extensions -->
1818
<Product>AltaModa .NET Extensions</Product>
1919

20-
<VersionPrefix>3.1.1</VersionPrefix>
20+
<VersionPrefix>3.2.1</VersionPrefix>
2121

2222
<GenerateAssemblyConfigurationAttribute>true</GenerateAssemblyConfigurationAttribute>
2323
<GenerateAssemblyCompanyAttribute>true</GenerateAssemblyCompanyAttribute>

0 commit comments

Comments
 (0)