Deploying a Website from Subversion

后端 未结 8 1025
春和景丽
春和景丽 2021-01-02 03:41

I am new to subversion and am wondering how do you move from develoment to staging then production?

I think I grasp the concept of creating branches made for releas

8条回答
  •  自闭症患者
    2021-01-02 04:13

    You're missing a piece here, basically - you shouldn't use subversion alone to deploy to test and production. Your best bet is to use some sort of script which will pull the build from subversion (if use svn export, it won't bring along subversion file hooks), build any necessary files (using MSBuild, which can be scripted), remove the unecessary files (such as .aspx.cs files since you've built the thing), and copy it over to your environment.

    Locally, we use powershell to glue everything together and a combination of the svn command line, MSBuild, and nUnit from the command line to do our builds.

提交回复
热议问题