diff --git a/sources/createTag.sh b/sources/createTag.sh new file mode 100755 index 0000000..1e0607b --- /dev/null +++ b/sources/createTag.sh @@ -0,0 +1,21 @@ +#!/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 "create a new release" +git tag $tag diff --git a/sources/lutin_edn.py b/sources/lutin_edn.py index 5dc85b3..ab165c0 100755 --- a/sources/lutin_edn.py +++ b/sources/lutin_edn.py @@ -1,6 +1,7 @@ #!/usr/bin/python import lutinModule import lutinTools +import lutinDebug as debug import datetime def Create(target): @@ -84,12 +85,14 @@ def Create(target): myModule.AddPath(lutinTools.GetCurrentPath(__file__)) - myModule.CopyFile("../data/Font/freefont/FreeSerif.ttf","fonts/FreeSerif.ttf") myModule.CopyFolder("../data/Font/freefont/FreeMon*.ttf","fonts/") - now = datetime.datetime.now() - versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day) + + tagFile = lutinTools.GetCurrentPath(__file__) + "/tag" + versionID = lutinTools.FileReadData(tagFile) + + debug.info(" edn versionId = '" + versionID + "'") # set the package properties : myModule.pkgSet("VERSION", versionID) diff --git a/sources/tag b/sources/tag new file mode 100644 index 0000000..60a2d3e --- /dev/null +++ b/sources/tag @@ -0,0 +1 @@ +0.4.0 \ No newline at end of file diff --git a/todo.txt b/todo.txt index 173ff33..f65601a 100644 --- a/todo.txt +++ b/todo.txt @@ -31,7 +31,6 @@ List of all thing to do to have a corect text editor : - Add a cocillage - Goto Line - Buffer view : update display position when change buffer - - Add a real stable version number - word moving and word removing (ctrl+ '->' && ctrl+ '<-') && (ctrl+ 'del' && ctrl+ 'suppr') ewol : - A spliter of windows (increase siaze of the buffer list & have multiple windows: