Skip to content
Snippets Groups Projects
Commit a2c60fef authored by Amorilia's avatar Amorilia
Browse files

Update version.

parent 9f9c02cc
No related branches found
No related tags found
No related merge requests found
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
// Define the major, minor, build, patch version numbers // Define the major, minor, build, patch version numbers
// //
#define VERSION_MAJOR_INT 3 #define VERSION_MAJOR_INT 3
#define VERSION_MINOR_INT 5 #define VERSION_MINOR_INT 6
#define VERSION_BUILD_INT 5 #define VERSION_BUILD_INT 0
#ifndef NIFTOOLS_REVISION_INT #ifndef NIFTOOLS_REVISION_INT
#define VERSION_PATCH_INT 0 #define VERSION_PATCH_INT 0
...@@ -27,16 +27,16 @@ ...@@ -27,16 +27,16 @@
#ifndef VERSION_STRING #ifndef VERSION_STRING
#ifndef NIFTOOLS_REVISION #ifndef NIFTOOLS_REVISION
#define VERSION_STRING "3, 5, 5, 0" #define VERSION_STRING "3, 6, 0, 0"
#else #else
#define VERSION_STRING "3, 5, 5, " NIFTOOLS_REVISION #define VERSION_STRING "3, 6, 0, " NIFTOOLS_REVISION
#endif #endif
#endif #endif
//#define DEF_VERSION_STRING(a,b,c,d) "##a, ##b , ##c , ##d" //#define DEF_VERSION_STRING(a,b,c,d) "##a, ##b , ##c , ##d"
//#define VERSION_STRING DEF_VERSION_STRING(a,b,c,d) //#define VERSION_STRING DEF_VERSION_STRING(a,b,c,d)
#define COPYRIGHTYEARINT 2009 #define COPYRIGHTYEARINT 2011
#define COPYRIGHTYEAR "2009" #define COPYRIGHTYEAR "2011"
#endif #endif
...@@ -2,5 +2,15 @@ ...@@ -2,5 +2,15 @@
# quick script to create zip file containing all sources # quick script to create zip file containing all sources
# uses https://github.com/amorilia/git-archive-all # uses https://github.com/amorilia/git-archive-all
VERSION="3.6.0"
wcrev=`git log -1 --pretty=format:%h`
if [ "$1" == "" ]
then
extversion=${VERSION}.${wcrev}
else
extversion=${VERSION}-$1.${wcrev}
fi
git clean -xfd git clean -xfd
git-archive-all max_nif_plugin-`git log -1 --pretty=format:%h`.zip --prefix max_nif_plugin/ -v git-archive-all max_nif_plugin-${extversion}.zip --prefix max_nif_plugin/ -v
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment