tags:

views:

114

answers:

1

I am creating a text file and a zip file for a tag automatically with MSBuild. My msbuild project is called by cruisecontrol.net.

The text file is always going to be latest.txt and the zip file will be (version).zip (so it will be different every time). I do not want to commit these files back to my trunk nor check out the tags directory.

Hence, I discovered svn import. On the first time, it works for both. On successive runs, it fails since latest.txt already exists in the repository. Do I need to use svn import --force or something else to get these two files pushed up to my repository?

+2  A: 

Based on the comments, the answer to the question would be to only svn import the (version).zip file. Since the contents of latest.txt change for each build, it is a versioned file and should be committed as such.

Kevin Crowell
How do I add it to this path without downloading all the files on a checkout?
Daniel A. White
Thanks for your input. I was able to get it to work.
Daniel A. White