开发者

How can I make a release with SVN? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

we have been开发者_StackOverflow working on a project, now a part of the project is ready to be released internally. So I want to build this release with tortoisesvn. but I haven't work with any release yet. So here I am to get the guideline from you. I am working on a web project with ms vs2008 with c#


It's normal to create a release branch to setup a sort of milestone in the source code. This allows you to go back to the source code that was released at that point in time.

Here's an answer in SO that has some good tips on this.

https://stackoverflow.com/questions/2184115/svn-release-branch-and-externals


SVN wont build a release but you manage your repository carefully, then you might have a 'Tags' folder that lets you mark your release code (it's one of the SVN Red book best practices IIRC)

If that's the case, you simple use TortoiseSVN to checkout that tag to your workstation where you can use your tools, VS in release mode and Publish, or perhaps MSBuild to make your binary package.


In Subversion there are 3 main folders.

  1. Branches
  2. Tags
  3. Trunk

In branches there are active development nodes and Trunk is the most upto date version. All the branches should be merged forward to Trunk in timely manner. Tags are the released versions. That's a very brief introduction. You can find more documentations here.

If you want to release any branch you have to merge forward it into Trunk first and Tag with the release version. Normally do 'copyTo' a new release node in Tag folder. Hope this is what you asked about releasing...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜