Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-11-2010, 01:08 PM
abcdetech abcdetech is online now
Registered User
 
Join Date: 04-30-2008
Posts: 18
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.
Reply With Quote
  #2  
Old 01-11-2010, 01:45 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
[vbld_IIf(%LabelOrNot%, "%VSSLabel%", "")]

http://www.kinook.com/VisBuildPro/Ma...scriptmisc.htm
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 09:28 AM.


Copyright © 1999-2023 Kinook Software, Inc.