Release Guide

How to create releases of Scalate

Release Steps

Various documentation changes first (which should be done before the release is cut)

Cutting the release

Switching website generation to the last release branch

Using a temporary local repo

To avoid pushing to the remote repo in experimental attempts at releasing, you can clone your local repo…

git clone file:///foo/scalate scalate-release

You probably want to set this property too if you’re using git 1.6 or later to avoid your release prepare barfing…

git config receive.denycurrentbranch warn

then edit your ~/.m2/settings.xml file and add this…

<settings>
  <profiles> 
    <profile>
      <id>release</id>
      <properties>
        <release-altGitURL>scm:git:file:///foo/scalate</release-altGitURL>
      </properties>
    </profile>
  </profiles>	

then perform a release in this new scala-release directory. This will then push to your local repo, not the remote one.