[gbrainy] Use a correct version format for assemblies
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Use a correct version format for assemblies
- Date: Sat, 17 Sep 2011 15:29:08 +0000 (UTC)
commit ec151b97675682c1d42278fcc829d4599743e5f2
Author: Jordi Mas <jmas softcatala org>
Date: Sat Sep 17 17:28:48 2011 +0200
Use a correct version format for assemblies
configure.ac | 4 ++++
src/Clients/Classical/AssemblyInfo.cs.in | 2 +-
src/Core/AssemblyInfo.cs.in | 2 +-
src/Games/AssemblyInfo.cs.in | 2 +-
4 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5d0f9ae..8e6755a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,10 @@
AC_INIT(gbrainy, 2.02)
AC_CONFIG_SRCDIR(src/Core/)
+# Version for assemblies: Major.Minor.Build.Revision
+ASSEMBLY_VERSION="2.0.2.0"
+AC_SUBST(ASSEMBLY_VERSION)
+
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([tar-ustar])
diff --git a/src/Clients/Classical/AssemblyInfo.cs.in b/src/Clients/Classical/AssemblyInfo.cs.in
index 9856012..a16dba7 100644
--- a/src/Clients/Classical/AssemblyInfo.cs.in
+++ b/src/Clients/Classical/AssemblyInfo.cs.in
@@ -19,7 +19,7 @@
using System.Reflection;
-[assembly: AssemblyVersion("@VERSION@")]
+[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
[assembly: AssemblyTitle ("gbrainy")]
[assembly: AssemblyCopyright ("@COPYRIGHT@")]
[assembly: AssemblyDescription ("A brain teaser game for fun and to keep your brain trained")]
diff --git a/src/Core/AssemblyInfo.cs.in b/src/Core/AssemblyInfo.cs.in
index 1e33db6..7a131cc 100644
--- a/src/Core/AssemblyInfo.cs.in
+++ b/src/Core/AssemblyInfo.cs.in
@@ -19,7 +19,7 @@
using System.Reflection;
-[assembly: AssemblyVersion("@VERSION@")]
+[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
[assembly: AssemblyTitle ("gbrainy.Core.dll")]
[assembly: AssemblyCopyright ("@COPYRIGHT@")]
[assembly: AssemblyDescription ("A brain teaser game for fun and to keep your brain trained")]
diff --git a/src/Games/AssemblyInfo.cs.in b/src/Games/AssemblyInfo.cs.in
index 3bb00d7..0077d5b 100644
--- a/src/Games/AssemblyInfo.cs.in
+++ b/src/Games/AssemblyInfo.cs.in
@@ -19,7 +19,7 @@
using System.Reflection;
-[assembly: AssemblyVersion("@VERSION@")]
+[assembly: AssemblyVersion("@ASSEMBLY_VERSION@")]
[assembly: AssemblyTitle ("gbrainy.Games.dll")]
[assembly: AssemblyCopyright ("@COPYRIGHT@")]
[assembly: AssemblyDescription ("A brain teaser game for fun and to keep your brain trained")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]