Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

How to release openHAB

Thomas E.-E. edited this page Feb 9, 2014 · 23 revisions

Follow these steps if you want to release a new version of openHAB. Later we plan to leverage the Maven Release Plugin to facilitate these steps.

  1. Pull the latest state from the repository into a fresh and empty directory

     git clone [email protected]:openhab/openhab.git
    
  2. Open a command-line and go to the openhab directory

  3. Set project version to release version with the Tycho Versions plugin

     mvn -P prepare-release initialize -DnewVersion=1.x.0
    
  4. Manually change org.openhab.designer.product/category.xml file. Replace 1.x.0.qualifier by 1.x.0

  5. Execute a Maven build

     mvn -P deploy clean deploy -Drepo.id=cloudbees-public-release-repo -Drepo.url=dav:https://repository-openhab.forge.cloudbees.com/release/1.x.0 -Dp2.repo.dir=p2 -Dapt.repo.dir=apt-repo
    
  6. Commit the changed files

     git commit -a -m "prepare for 1.x.0 release"
    
  7. Create a release tag with pattern v<version>

     git tag v1.x.0
    
  8. Increment to next development version

     mvn -P prepare-snapshot initialize -DnewVersion=1.y.0
    
  9. Manually change org.openhab.designer.product/category.xml file. Replace 1.y.0 by 1.y.0.qualifier

  10. Execute a Maven build with goals clean verify to assure that everything builds

     mvn clean verify
    
  11. Commit the changes

     git commit -a -m "increment to next development version 1.y.0"
    
  12. Go one directory up to the root of the repository

     cd ..
    
  13. Push the changes including the tag to the server

     git --tags push origin master
     git push origin master
    
  14. Switch to the root directoy of openHAB

to be continued …

Installation


User Interfaces


Community

(link to openHAB forum)

Development



Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Use case examples

Collections of Rules on a single page

Single Rules

Scripts


Release Notes

Clone this wiki locally