Skip to content
veebs edited this page Apr 30, 2012 · 14 revisions

Test

  1. Generate doc $ sbt doc make sure there are no warnings
  2. Run sbt test and makre sure there are no errors

Set Version and tag

  1. Update version in build.scala
  2. Tag
    $ git tag -m "Tag v0.1.0" socko-0.1.0
    $ git push --tags

Publish JAR

Publish to sonatype:

    $ sbt
    $ project socko-webserver
    $ publish

Then login to sonatype at https://oss.sonatype.org/. Follow the instructions at step 8 to release to maven central

Doc (to be automated)

  1. Generate doc $ sbt doc
  2. Copy socko-webserver/target/scala-2.9.1/api to socko.website/docs/X.Y.Z/api
  3. Copy socko-docs/docs to to socko.website/docs/X.Y.Z/guides
  4. Update socko-website/docs.markdown
  5. Create blog entry in socko-website/_posts
  6. Push gh-pages
    $ git add .
    $ git commit -a -m "v0.1.0 release"
    $ git push origin gh-pages
Clone this wiki locally