Skip to content

Commit

Permalink
Persiapan rilis v1.0.0-beta5
Browse files Browse the repository at this point in the history
  • Loading branch information
rudi-krsoftware committed Jun 10, 2017
1 parent 40f9ff9 commit 9bdac16
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ OpenRetail

[![Build status](https://ci.appveyor.com/api/projects/status/a2cf5uy7b16w386b?svg=true)](https://ci.appveyor.com/project/rudi-krsoftware/open-retail)

[![Open Retail](https://openretailblog.files.wordpress.com/2017/05/banner-small-beta1.png)](https://openretailblog.wordpress.com/)
[![Open Retail](https://openretailblog.files.wordpress.com/2017/06/banner-small-beta.png)](https://openretailblog.wordpress.com/)

Apa itu OpenRetail?
-------------------
Expand Down
2 changes: 1 addition & 1 deletion database/07_data-database_version.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SET search_path = public, pg_catalog;
--

COPY m_database_version (version_number) FROM stdin;
1
5
\.


Expand Down
7 changes: 6 additions & 1 deletion src/OpenRetail.App/Helper/DatabaseVersionHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static class DatabaseVersionHelper
/// <summary>
/// Versi database yang terakhir
/// </summary>
public const int DatabaseVersion = 4;
public const int DatabaseVersion = 5;

/// <summary>
/// Script SQL untuk mengupgrade database v1 ke v2
Expand All @@ -44,5 +44,10 @@ public static class DatabaseVersionHelper
/// Script SQL untuk mengupgrade database v3 ke v4
/// </summary>
public const string UpgradeStrukturDatabase_v3_to_v4 = "db_v3_to_v4.sql";

/// <summary>
/// Script SQL untuk mengupgrade database v4 ke v5
/// </summary>
public const string UpgradeStrukturDatabase_v4_to_v5 = "db_v4_to_v5.sql";
}
}
4 changes: 4 additions & 0 deletions src/OpenRetail.App/Main/FrmLogin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ private void UpgradeDatabase(int newDatabaseVersion)
result = ExecSQL(DatabaseVersionHelper.UpgradeStrukturDatabase_v3_to_v4);
break;

case 5: // upgrade database v4 ke v5
result = ExecSQL(DatabaseVersionHelper.UpgradeStrukturDatabase_v4_to_v5);
break;

default:
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/OpenRetail.App/MainProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static class MainProgram
/// </summary>
public static readonly string onlineUpdateUrlInfo = ""; // TODO: set url informasi update

public static readonly string stageOfDevelopment = "-beta4";
public static readonly string stageOfDevelopment = "-beta5";
public static readonly string appName = "Open Retail Versi {0}{1} - Copyright © {2} Kamarudin";

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/VersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// 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.24")]
[assembly: AssemblyVersion("1.0.0.25")]
[assembly: AssemblyFileVersion("1.0.0")]

0 comments on commit 9bdac16

Please sign in to comment.