Skip to content

Commit

Permalink
include release instructions in the README [minor]
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Dec 19, 2011
1 parent 08003ce commit 86a32fa
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,56 @@ You have to use the `--database` switch on the command-line,
because otherwise the server will run in LAN-mode, and not use the DB.


## Release (devs only)

### Prepare "target/" for the release process

mvn release:clean

### Prepare the release
* asks for the version to use
* packages
* signs with GPG
* commits
* tags
* pushes to origin

mvn release:prepare

### Perform the release (main part)
* checks-out the release tag
* builds
* deploy into sonatype staging repository
* uploads artifacts to the github download section

mvn release:perform

### Release the site
* generates the site, and pushes it to the github gh-pages branch,
visible under http://spring.github.com/SpringLS/

git checkout <release-tag>
mvn site
git checkout master

### Promote it on Maven
Moves it from the sonatype staging to the main sonatype repo

1. using the Nexus staging plugin:

mvn nexus:staging-close
mvn nexus:staging-release

2. ... alternatively, using the web-interface:
* firefox https://oss.sonatype.org
* login
* got to the "Staging Repositories" tab
* select "com.springrts..."
* "Close" it
* select "com.springrts..." again
* "Release" it


## Notes

* A Client may participate in only one battle at the same time. If he is hosting
Expand Down

0 comments on commit 86a32fa

Please sign in to comment.