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
. 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?
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.