source: tol/windows/NSIS/create_tag_build.tol

devel
Last change on this file was abf9afa, checked in by Jorge Pérez <josp.jorge@…>, 18 years ago

scripts to automate Windows compilation a packaging

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@50 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 956 bytes
Line 
1//////////////////////////////////////////////////////////////////////////////
2// FILE    : create_tag_build.tol
3// PURPOSE : Creates the tag name corresponding to current CVS version
4//           and writes the script create_tag_build.bat to create the tag
5//////////////////////////////////////////////////////////////////////////////
6
7Text tagName = 
8{
9  Text aux = Version;
10  Set tok = Tokenizer(aux," ");
11  ToUpper(Replace(Replace(tok[1],"v","TOL-REL-")+
12          Replace(tok[2],"b.","_BUILD-"),".","-"))
13};
14WriteLn("TOL version : '"+Version+"'");
15WriteLn("TOL CVS tag : '"+tagName+"'");
16
17Text WriteFile("create_tag_build.bat",
18"
19rem This script sets the CVS tag corresponding to current release
20rem Generated by create_tag_build.tol
21cd ..
22cd tol
23cvs tag -F "+tagName+"
24cd ..
25cd toltcl
26cvs tag -F "+tagName+"
27cd ..
28cd tolbase
29cvs tag -F "+tagName+"
30cd ..
31cd tol_tests
32cvs tag -F "+tagName+"
33cd ..
34cd NSIS
35");
36
37
Note: See TracBrowser for help on using the repository browser.