Skip to content
This repository
tree: c8e2a1174e
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 57 lines (53 sloc) 1.703 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
Pre-conditions:
---------------
- Build environment is green
- No FIXME or NotImplementedException left in source code
- All versions are up-to-date:
  - MigSharp\AssemblyInfo.cs
  - Migrate\AssemblyInfo.cs
  - nuget\MigSharp.nuspec
- CHANGES.txt is up-to-date
- All changes pushed to GitHub
- Wiki on GitHub reflects new features and changes

Releasing:
----------
- Tag the sources with AssemblyVersion
  git tag -a v1.0.0 -m "v1.0.0"
  git push origin v1.0.0
- Grab the artifacts from the 3.5 and 4.0 compilation configs (MigSharp.zip) and upload these to GitHub
  - Pin the build on TeamCity
- Verify downloads are okay (extracting the zip file works)
- Publish NuGet package using the MigSharp.nuspec (see: http://docs.nuget.org/)
  - Open nuget/MigSharp.nuspec in the NuGet Package Explorer
  - Adjust package metadata as required
  - Remove the .svn folder from the package content
  - Add content using the following structure:
    lib/
net35/
MigSharp.dll
MigSharp.xml
      net40/
MigSharp.dll
MigSharp.xml
  - File > Publish...

Post-actions:
-------------
- Increment AssemblyVersion (see above)
- Announce
- Close all issues related to the released milestone

To branch a release for patches:
--------------------------------
- Use the tag to branch off a release branch for patches:
  git checkout -b RB-1.0 v1.0.0
- Publish the branch:
  git push origin RB-1.0
- Switch back to master:
  git checkout master
- Delete the local RB-1.0 branch:
  git branch -d RB-1.0
- Fetch the remote:
  git fetch
- Start tracking the new remote branch:
  git checkout --track origin/RB-1.0
- Merge bug-fixes from the master:
  git cherry-pick -n 07f42ff9379d99869048ee61264fbdf732ff6b8a
Something went wrong with that request. Please try again.