Creating deployment packages in SVN

by Evgeny Petrov on January 21st, 2010 | Posted in Revium Sandbox | Comment on this entry

In software development (in an ASP.NET web development in particular) there are always repetitive time consuming tasks, which we would like to automate somehow. One of those things is the permanent need to create deployment/update packages with files which were changed since the last deployment. Until a week ago I have been creating this packages manually, simply by collecting changed files from various folders, organising them and deploying  to the web hosting server. Last week I got very annoyed with that and after some research figured out how to utilize SVN/Subversion to do exactly that for you automatically.

Great. Just look at the next few screenshots how easy this is (just a note – this is demonstrated with the Windows SVN client – TortoiseSVN).

Step 1.

Open Repo-Browser and navigate to your website folder.


repo-browser in TortoiseSVN


Step 2.

Right click -Show Log, then select all revisions from top to bottom which you want to create a deployment package for.


Log screen in TortoiseSVN


Step 3.

Right click on the selection and select Compare Revisions.


Compare revisions


Step 4.

In the Changed Files Screen select all files, right click with your mouse and select Export selection to..


Export files


And that is it :-) Enjoy your just created deployment package – structure of folders with files which were changed in your selected SVN revisions. Zip it up and deploy!


deployment package


Related posts:

  1. Sorting out SVN checkin/checkout issues
  2. Search engine marketing: SEM
  3. Javascript Window Tiling
  4. jQuery image captions

Tags: deployment, svn

« Sharepoint – Getting Photos from People and Groups

Windows SharePoint Services Help Search – SPSearch Starting Error »

Leave a Reply

Click here to cancel reply.

Recent Articles

  • 10 Tips for user acceptance testing of web applications
  • Popular Content Management Systems
  • ASP.NET MVC [HandleError] and logging
  • VMWare hard lessons
  • Linq – SubmitChanges does not work
  • Using FourSquare for Marketing
  • ASP.NET Button – prevent double clicks part 2
  • The easy way to clear floated elements

Twitter

  • 50 Useful Tools & Resources For Web Designers <http://www.smashingmagazine.com/2010/07/26/50-useful-tools-and-resources-for-web-designers/> 3 days ago
  • Tourism Australia has launched a free "Go Ashes" app for iPhone to promote England vs Australia cricket series 4 days ago
  • #YouTube competition, on 24 July capture you Life In A Day http://youtu.be/tZFbDY3-eG4 1 week ago
  • More updates...

Revium Logo

  • Home
  • About
  • Expertise
  • Showcase
  • Contact

  • news
  • blog
  • sandbox
  • twitter
  • facebook
  • rss
Bookmark and Share

We are Revium, hear us roar!

The news.

23 Apr

Revium sponsors IIA CEO luncheon on 2010 Challenges

Last Wednesday 14th April Revium hosted a CEO luncheon for the Internet Industry Association (IIA). Revium have been long time supporters of the IIA and…

Continue reading
View archive

The blog.

11 Jun

VMWare hard lessons

Well, I learned a hard lesson today when I decided to give more hard drive space to one of our virtual machines. We run…

Continue reading
View archive

The sandbox.

02 Jul

10 Tips for user acceptance testing of web applications

1. Draw up a testplan Many testers would like to skip this step, but it is essential for structured testing. It depends of course on the…

Continue reading
View archive

eNewsletter.

 

© Copyright 2010. All Rights Reserved.

Revium Pty Ltd

e / info@revium.com.au t / Work +61 3 9429 2000

Find us: web development, seo

Disclaimer and privacy Revium Pty Ltd

10 Harvey Street
Richmond, Victoria, 3121 Australia
View map

Logo Partner MicrosoftLogo Partner KenticoLogo Partner IiaLogo Partner Iia RibLogo Partner Acs