Skip to content
mdr edited this page Jul 16, 2011 · 27 revisions

Prepare trunk

export FROM=0.0.9
export TO=0.1.0
export NEW=0.1.1

sed -i s/$FROM/$TO/g README.rst
  • Add date to CHANGELOG.
  • Create scalariform/notes/$TO.markdown, check at at http://wmd-editor.com/demo
  • Check tests locally; also check Maven plugin compiles
  • Any new build versions to add to sbt?

Branch

git add .
git commit -a -m "Preparing for $TO release"
git checkout -b $TO
scripts/update-version.sh $TO-SNAPSHOT $TO
git grep -n $TO-SNAPSHOT # $FROM etc
  • Edit project/build/Project.scala -- switch publishTo line to releases at ScalaTools

    git commit -a -m "Update versions for $TO release"

Publish to Scala tools.

sbt
> +test    
> project scalariform
> +publish

Check at http://scala-tools.org/repo-releases/org/scalariform/scalariform_2.8.0/

Publish to posterous

> project scalariform
> preview-notes
> check-posterous
> publish-notes

Check https://github.com/softprops/posterous-sbt

Publish maven plugin

cd scalariform.maven-plugin
mvn deploy

Push new branch to Github

Update master

git co master
scripts/update-version.sh $TO-SNAPSHOT $NEW-SNAPSHOT
scripts/update-version.sh $TO.qualifier $NEW.qualifier
git commit -a -m "Update versions for $NEW-SNAPSHOT"
Clone this wiki locally