-
Notifications
You must be signed in to change notification settings - Fork 4
How to release openHAB
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.
-
Pull the latest state from the repository into a fresh and empty directory
git clone git@github.com:openhab/openhab.git
-
Open a command-line and go to the
openhab
directory -
Set project version to release version with the Tycho Versions plugin
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=1024m"; mvn -P prepare-release initialize -DnewVersion=1.x.0
-
Manually change
./products/org.openhab.runtime.product/category.xml
file. Replace1.x.0.qualifier
by1.x.0
-
Manually change
./products/org.openhab.designer.product/category.xml
file. Replace1.x.0.qualifier
by1.x.0
-
Manually change version in
.//bundles/archetype/org.openhab.archetype.binding/pom.xml
file. -
Manually change version in
.//bundles/archetype/org.openhab.archetype.action/pom.xml
file. -
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
-
Install and extensively test the created binaries
-
Commit the changed files
git commit -a -m "prepare for 1.x.0 release"
-
Create a release tag with pattern
v<version>
git tag v1.x.0
-
Increment to next development version
mvn -P prepare-next-snapshot initialize -DnewVersion=1.y.0.qualifier
-
Manually change
./products/org.openhab.runtime.product/category.xml
file. Replace1.y.0
by1.y.0.qualifier
-
Manually change
./products/org.openhab.designer.product/category.xml
file. Replace1.y.0
by1.y.0.qualifier
-
Execute a Maven build with goals clean verify to assure that everything builds
mvn clean verify
-
Commit the changes
git commit -a -m "increment to next development version 1.y.0"
-
Push the changes including the tag to the server
git push origin master --tags
-
Switch to the root directoy of openHAB
to be continued …
Installation
Community
- Support
- News Archive
- Presentations
- How to Contribute
- IDE Setup
- How to Implement a Binding
- How to Implement an Action
- Projects using openHAB
- User Interfaces
- Classic UI
- iOS Client
- Android Client
- GreenT UI
- CometVisu
- Bindings
- Asterisk Binding
- Astro Binding
- Bluetooth Binding
- Comfo Air Binding
- CUL Binding
- CUPS Binding
- digitalSTROM Binding
- DMX512 Binding
- EnOcean Binding
- Epson Projector Binding
- Exec Binding
- Fritz!Box Binding
- Fritz AHA Binding
- GPIO Binding
- HDAnywhere binding
- Heatmiser Binding
- Homematic Binding
- HTTP Binding
- IHC / ELKO Binding
- Insteon Hub Binding
- Insteon PLM Binding
- Ir-Trans Binding
- KNX Binding
- Koubachi Binding
- MAX!Cube-Binding
- MiLight Binding
- Modbus TCP Binding
- MPD Binding
- MQTT Binding
- MQTTitude binding
- Neohub Binding (Preview)
- Netatmo Binding
- Network Health Binding
- Nibe Heatpump Binding
- Nikobus Binding
- Novelan/Luxtronic Heatpump Binding
- NTP Binding
- One-Wire Binding
- Onkyo AV Receiver Binding
- Open Energy Monitor Binding
- OpenPaths presence detection binding
- OpenSprinkler Binding
- OSGi Configuration Admin Binding
- Philips Hue Binding
- Piface Binding
- Pioneer-AVR-Binding
- Plugwise Binding
- PLCBus Binding
- Pulseaudio Binding
- RFXCOM Binding
- Samsung TV Binding
- Serial Binding
- Snmp Binding
- Squeezebox Binding
- System Info Binding
- Somfy URTSI II Binding
- Sonos Binding
- Swegon ventilation Binding
- TCP/UDP Binding
- Tellstick Binding
- TinkerForge Binding
- VDR Binding
- Velleman-K8055-Binding
- Wake-on-LAN Binding
- Withings Binding
- XBMC Binding
- xPL Binding
- Z-Wave Binding
- Persistence
- db4o Persistence
- rrd4j Persistence
- MySQL Persistence
- MongoDB Persistence
- Sen.Se Persistence
- Cosm Persistence
- Logging Persistence
- Exec Persistence
- MQTT Persistence
- Automation
- Scripts
- Rules
- Actions
- Misc
- REST-API
- Security
- Google Calendar Support
- Twitter Action
- Service Discovery
- Dropbox Bundle
Samples
- Item definitions
- Sitemap definitions
- Binding configurations
- Rules
- REST Examples
- Tips & Tricks
- FAQ
- XSLT Transforms
- Scripts
- Integration with other applications
- Syntax highlighting for external editors
- Update-Scripts
- Samples-Comfo-Air-Binding
- Samples WAC Binding
Release Notes