Error formatting macro: pagetree: java.lang.NullPointerException
Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

For projects using Hudson at build.clojure.org

How to make a -SNAPSHOT release

  • Push to "master" branch on GitHub
  • Hudson polls GitHub once every hour and builds automatically
    • Or you can click "Build Now" on the project page
  • Hudson uploads a uniquely-numbered JAR file to the Sonatype OSS Snapshot Repository

How to make a numbered release

  • Log in to Hudson
  • Navigate to your project's home page (example)
  • Click "Perform Maven Release" link on the left
  • On the "Perform Maven Release" page:
    • Select "Specify one version for all modules"
    • In the "Release Version" field, enter the version number for this release of your project
      • This will normally be the current development version with the "-SNAPSHOT" suffix removed
    • In the "Development version" field, enter the version number for the subsequent development version of your project
      • This will end with "-SNAPSHOT"
    • Click "Schedule Maven Release Build"
  • After the build completes successfully:
    • `git pull` on your development machine to get the new release tags
    • The release JAR file will be uploaded to the Sonatype OSS staging repository
    • Within 24 hours, the release JAR file will be uploaded to the Maven Central repository

Contrib Release Numbering Policy

  • Use Semantic Versioning: major.minor.patch
  • Clojure/core team must approve first 1.0.0 release
Labels: