diff --git a/createTag.sh b/createTag.sh deleted file mode 100755 index 13d7df3f..00000000 --- a/createTag.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -usage() -{ - echo -e "$0 [TAG]" - echo -e "\t\t[TAG] : Tag to set on the version" - exit -1 -} - -#verify all input parameters : -tag="" -if [ "$1" = "" ] ; then - usage -else - tag="$1" -fi - -echo -n $tag > tag - -git commit -a -m "Update version tag : $tag" -git tag $tag diff --git a/lutin_ewol.py b/lutin_ewol.py index 507133f8..5cfe52fe 100644 --- a/lutin_ewol.py +++ b/lutin_ewol.py @@ -25,7 +25,7 @@ def get_maintainer(): return ["Mr DUPIN Edouard "] def get_version(): - return [0,0,0] + return [0,9,"dev"] def create(target, module_name): # module name is 'edn' and type binary. @@ -255,10 +255,8 @@ def create(target, module_name): my_module.add_path(tools.get_current_path(__file__)) - tagFile = tools.get_current_path(__file__) + "/tag" - ewolVersionID = tools.file_read_data(tagFile) my_module.compile_flags('c++', [ - "-DEWOL_VERSION=\"\\\""+ewolVersionID+"\\\"\"" + "-DEWOL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\"" ]) return my_module diff --git a/monk_ewol.py b/monk_ewol.py old mode 100755 new mode 100644 diff --git a/tag b/tag deleted file mode 100644 index b988bae0..00000000 --- a/tag +++ /dev/null @@ -1 +0,0 @@ -0.9.8-dev \ No newline at end of file