|
#1
|
|||
|
|||
Conditionally add file to VSS
After completing a build, I want to check the executables into VSS. But if the execuatables are not in VSS already, I want to add them. Additionally, some executables are in VSS, and a new executable, or resource file, etc. is added in a later release, I want to automatically add the new file to VSS as well.
I was thinking of doing a checkin and allowing that to fail and in the fail step add the missing file. But then, once the problem has been corrected, I would need to go back to the original script and continue where it left off. Can anyone provide suggestions on how i can do this? Thanks! |
#2
|
|||
|
|||
Mark the check-in step to Ignore Failure. Put the Add step next, with a conditional build rule to build only if %LASTSTEP_STATUS% is not equal to 0.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|