devel
| 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 |
|
|---|
| 7 | Text 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 | };
|
|---|
| 14 | WriteLn("TOL version : '"+Version+"'");
|
|---|
| 15 | WriteLn("TOL CVS tag : '"+tagName+"'");
|
|---|
| 16 |
|
|---|
| 17 | Text WriteFile("create_tag_build.bat",
|
|---|
| 18 | "
|
|---|
| 19 | rem This script sets the CVS tag corresponding to current release
|
|---|
| 20 | rem Generated by create_tag_build.tol
|
|---|
| 21 | cd ..
|
|---|
| 22 | cd tol
|
|---|
| 23 | cvs tag -F "+tagName+"
|
|---|
| 24 | cd ..
|
|---|
| 25 | cd toltcl
|
|---|
| 26 | cvs tag -F "+tagName+"
|
|---|
| 27 | cd ..
|
|---|
| 28 | cd tolbase
|
|---|
| 29 | cvs tag -F "+tagName+"
|
|---|
| 30 | cd ..
|
|---|
| 31 | cd tol_tests
|
|---|
| 32 | cvs tag -F "+tagName+"
|
|---|
| 33 | cd ..
|
|---|
| 34 | cd NSIS
|
|---|
| 35 | ");
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
Note: See
TracBrowser
for help on using the repository browser.