Kinook Software Forums

Kinook Software Forums (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Get the latest or from a label in VSS (https://www.kinook.com/Forum/showthread.php?t=4368)

abcdetech 01-11-2010 02:08 PM

Get the latest or from a label in VSS
 
I have VSS as source control.

In my script I want to have a switch/macro - let's say LabelOrNot.


If LabelOrNot = true

my project in VSS will be labelad with %VSSLabel% and next step would Get from L%VSSLabel%


If LabelOrNot = false

My project will not be labeled and I would get the latest source code.


I have no problems with Labeling. But the second step where I have to specify a "Version To Operate On" - it will be either %VSSLabel" or BLANK - here I have a problem.

your help is appreciated.

kinook 01-11-2010 02:45 PM

[vbld_IIf(%LabelOrNot%, "%VSSLabel%", "")]

http://www.kinook.com/VisBuildPro/Ma...scriptmisc.htm


All times are GMT -5. The time now is 11:41 AM.


Copyright 1999-2022 Kinook Software, Inc.