[DEV] add a real stable tag
This commit is contained in:
21
sources/createTag.sh
Executable file
21
sources/createTag.sh
Executable file
@@ -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
|
@@ -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)
|
||||
|
1
sources/tag
Normal file
1
sources/tag
Normal file
@@ -0,0 +1 @@
|
||||
0.4.0
|
Reference in New Issue
Block a user