Skip to content

Commit

Permalink
Add git based versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
kapsiR committed Jan 9, 2020
1 parent 2213658 commit 37e89cd
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 16 deletions.
5 changes: 3 additions & 2 deletions HaveIBeenPwnedKeePassPlugin.sln
@@ -1,14 +1,15 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.271
# Visual Studio Version 16
VisualStudioVersion = 16.0.29613.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8853044B-7D95-4B20-965D-08E2454F781F}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
CHANGELOG.md = CHANGELOG.md
KeePass.version = KeePass.version
README.md = README.md
version.json = version.json
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HaveIBeenPwnedPlugin", "HaveIBeenPwnedKeePassPlugin\HaveIBeenPwnedPlugin.csproj", "{CAC070C1-8B7E-4BA7-8F20-B3E4F56D2E03}"
Expand Down
9 changes: 9 additions & 0 deletions HaveIBeenPwnedKeePassPlugin/Directory.Build.props
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning">
<Version>3.0.28</Version>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>
15 changes: 1 addition & 14 deletions HaveIBeenPwnedKeePassPlugin/Properties/AssemblyInfo.cs
Expand Up @@ -6,7 +6,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("kapsiR")]
[assembly: AssemblyProduct("KeePass Plugin")]
[assembly: AssemblyCopyright("Copyright © 2019 kapsiR")]
[assembly: AssemblyCopyright("Copyright © 2020 kapsiR")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -17,16 +17,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("cac070c1-8b7e-4ba7-8f20-b3e4f56d2e03")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.3.0.0")]
[assembly: AssemblyFileVersion("0.3.0.0")]
12 changes: 12 additions & 0 deletions version.json
@@ -0,0 +1,12 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "0.3.1.0",
"publicReleaseRefSpec": [
"^refs/heads/master$"
],
"cloudBuild": {
"buildNumber": {
"enabled": true
}
}
}

0 comments on commit 37e89cd

Please sign in to comment.