Skip to content

Commit

Permalink
Bump build number
Browse files Browse the repository at this point in the history
Set build number and version file for next release. Add test code to debug builds only that checks the new version number (as its not yet been merged into master).
  • Loading branch information
DHancock committed Sep 27, 2019
1 parent b38476f commit e83f95e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
4 changes: 3 additions & 1 deletion FieldChooser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="build_plgx.bat" />
<None Include="FieldChooser.version" />
<None Include="FieldChooser.version">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion FieldChooser.version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:
FieldChooser:1.0
FieldChooser:1.1
:
8 changes: 4 additions & 4 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
[assembly: AssemblyTitle("FieldChooser")]
[assembly: AssemblyDescription("A plug in that allows you to choose individual characters from a field.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("[email protected]")]
[assembly: AssemblyCompany("David Hancock")]
[assembly: AssemblyProduct("KeePass Plugin")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyCopyright("Copyright 2019 David Hancock")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -33,7 +33,7 @@
// 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("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1")]
[assembly: AssemblyFileVersion("1.1")]
[assembly: NeutralResourcesLanguage("en")]

9 changes: 5 additions & 4 deletions Source/FieldChooserExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,17 @@ public override ToolStripMenuItem GetMenuItem(PluginMenuType t)
/// <summary>
/// URL of a version information file. See
/// https://keepass.info/help/v2_dev/plg_index.html#upd
///
/// Although this is the first released version and no updates will be
/// available this is required so KeePass can indicate that this plug in
/// is up to date. See main menu Help -> Check For Updates
/// </summary>
public override string UpdateUrl
{
get
{
#if DEBUG
string dir = System.IO.Path.GetDirectoryName(typeof(FieldChooserExt).Assembly.Location);
return System.IO.Path.Combine(dir, "FieldChooser.version");
#else
return "https://raw.githubusercontent.com/DHancock/FieldChooser/master/FieldChooser.version";
#endif
}
}

Expand Down

0 comments on commit e83f95e

Please sign in to comment.