Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Incremented the version number to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JSkimming committed Mar 20, 2014
1 parent 0b460db commit 6aa9684
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions IncrementVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ function IncrementVersion-NuSpec($file, $rank)
{
(Get-Content $file) |
% {
$exp = ([regex]'(^\s*<version>)(\d+\.\d+\.\d+)(-beta)(</version>\s*$)')
$exp = ([regex]'(^\s*<version>)(\d+\.\d+\.\d+)(</version>\s*$)')
$match = $exp.match($_)
if ($match.success)
{
$ov = New-Object Version($match.groups[2].value + '.0')
$nv = Increment-Version $ov $rank
$replaced = $exp.replace($_, $match.groups[1].value + $nv.Major + '.' + $nv.Minor + '.' + $nv.Build + $match.groups[3].value + $match.groups[4].value)
$replaced = $exp.replace($_, $match.groups[1].value + $nv.Major + '.' + $nv.Minor + '.' + $nv.Build + $match.groups[3].value)
$replaced
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using this tokenized nuspec file.
<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>0.10.0-beta</version>
<version>1.0.0</version>
<title>$title$</title>
<authors>James Skimming</authors>
<owners>James Skimming</owners>
Expand All @@ -24,7 +24,7 @@ using this tokenized nuspec file.
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Adds multi-tenant support for ASP.NET Identity using EntityFramework.

The extensibility required to support multi-tenancy is not possible with the 1.0.0 release of Microsoft.AspNet.Identity.EntityFramework, but is available in the 2.0 beta release.</description>
The extensibility required to support multi-tenancy is not possible with the 1.0.0 release of Microsoft.AspNet.Identity.EntityFramework, but is available in the 2.0 release.</description>
<summary>$description$</summary>
<tags>Identity Membership Entity Framework Multitenant Multi-tenant</tags>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions src/Common/AssemblyInfoCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

using System.Reflection;

[assembly: AssemblyVersion("0.10.0.0")]
[assembly: AssemblyFileVersion("0.10.0.0")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

1 comment on commit 6aa9684

@Mphozar
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi James.

I trust you are well.

I'm busy trying to use your multitenant project in one of our project. However I have noticed that you set a tenant at a constructor level. I have a login screen with a dropdownlist of defined tenant to choose from, I would like to populate the tenantId upon login instead on the constructor level. How do I go about achieving this?

Thanks In advance.
Mpho

Please sign in to comment.