Skip to content
Vibul Imtarnasan @vibuli edited this page Dec 30, 2013 · 14 revisions

Preparation

  1. Compile$ sbt clean compile package. Make sure there are no errors.
  2. Generate doc $ sbt unidoc. Make sure there are no warnings.
  3. Run $ sbt test and make sure there are no errors.

Set Version and tag

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

Publish JAR

Publish to sonatype:

    $ sbt
    $ publishSigned

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

Doc

  1. Generate doc $ sbt unidoc
  2. Copy target/scala-2.10/unidoc to socko.website/docs/X.Y.Z/api
  3. Copy socko-docs/docs to to socko.website/docs/X.Y.Z/guides
  4. Update links socko-website/docs.markdown and socko-website/previous_docs.markdown
  5. Update links socko-website/download.markdown
  6. Create blog entry in socko-website/_posts. Update change log links.
  7. Preview the pages jekyll serve --watch. (Jekyll installation documentation)
  8. Push gh-pages
    $ git add .
    $ git commit -a -m "v0.1.0 release"
    $ git push origin gh-pages
Clone this wiki locally