Clojure
- ant distclean
- "git checkout -b 1.2.x"
- Modify "src/clj/clojure/version.properties"
- change version.qualifier to "whatever-version"
- change version.interim to "false"
- "git commit -a"
- "git tag 1.2.0-whatever-version"
- "ant dist" to produce a ZIP release package
- "ant -lib maven-ant-tasks.jar ci-build" to produce Maven artifacts in local repo.
- Upload the ZIP package to http://github.com/clojure/clojure/downloads
- Update the download links at http://clojure.org
- Copy the Maven artifacts from local repo to build.clojure.org/releases. Your private key must be authorized for the hudson user on build.clojure.org.
- The remote-stable-build on the 1.2 branch automated this, but it is a copy-and-paste hack that should be refactored.
Clojure-contrib
Use "mvn deploy" to copy the Maven artifacts from local repo to build.clojure.org/releases. Some notes:
- "mvn clean"
- "git checkout -b 1.2.x"
- Modify "pom.xml":
- change <clojure.version>1.2.0-whatever-version</clojure.version>
- change <version>1.2.0-whatever-version</version>
- "git commit -a"
- "git tag 1.2.0-whatever-version""
- "mvn install" to install Maven artifacts in local repo.
- "mvn assembly:assembly" to create ZIP release package in target/
- Upload the ZIP package to http://github.com/clojure/clojure-contrib/downloads
- Update the download links at http://clojure.org.
- Use "mvn deploy" to copy the Maven artifacts from local repo to build.clojure.org/releases. You will need to put hudson/your-private-key path info in .m2/settings.xml on your local box.
Wish list
- In a more perfect world, the hudson user would not have login, but would have scp.
Labels: