Releases/SVN
From UFO:AI
Contents |
Releases of UFO:AI are handled via SVN-branches and tags ... read more about them.
- Branches
- A list of branches can be found here: branches
- Tags
- A list of tags (specific versions) can be found here: tags
- Note
- The "
ufoai." part in front of all thesvn.sourceforge.netURLs below is to prevent this bug (403 error on copy).
Create Release
For Stable Releases, Release Candidates and development releases.
Create a tag for the current release number
Normal Releases - The z part will most likely be 0 in most cases (that is the number for later bugfix releases and stuff like that).
svn copy https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_x.y \
https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/tags/ufoai_x.y.z \
-m "* UFO:Alien Invasion - Version x.y.z"
Release Candidates - If we really do a Release Candidate again that is, development release4s (see below) seem to be the better choice. :)
svn copy https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_x.y \
https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/tags/ufoai_x.y-rcz \
-m "* UFO:Alien Invasion - Version x.y-RCz"
Attention: No changes must be made in the "tags" copy.
Create a branch for the major version
svn copy https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk \
https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_x.y \
-m "* UFO:Alien Invasion - Version x"
Create a tag for the development releases
svn copy https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk \
https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/tags/ufoai_x.y-devz \
-m "* UFO:Alien Invasion - Version x.y-devz"
Attention: No changes must be made in the "tags" copy.
Get a release
specific version
To check out a specific version (i.e any final version such as tags/ufoai_2.0-rc1) run
svn checkout https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/tags/ufoai_x.y-rcz
major version branch
To check out the major version branch (e.g. branches/ufoai_2.0) do
svn checkout https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_x.y
switch your working copy
If you are working with the trunk anyway, you can switch to ta specific branch (or tag) by running ...
svn switch https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_x.y
... inside the trunk-directory (read more about this here). You can check what branch/tag you are using by running
svn info | grep URL
NOTE: Do not commit new features to a branch (and changes at all to tags).
Example
$ cd trunk $ svn info | grep URL URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk # any changes you commit now will go into trunk $ svn switch https://svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2.0 [... SNIP update messages ] $ svn info | grep URL URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2.0 # any changes you commit now will go into branches/ufoai_2.0

