File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Paho Java client for MQTT
2+
3+ This is to be completed... (Ian Craggs)
4+
5+
6+ Updating to a new version number
7+ -------------------------------
8+
9+ Ok. There are some Maven commands to update releases, but so far I've not been able to determine what those should be.
10+
11+ In the develop branch, we want the releases to be the vNext-SNAPSHOT
12+
13+ But in the master branch, we want
14+
15+
16+ Maven command to update versions:
17+
18+ mvn versions: set -DnewVersion=1.0.2-SNAPSHOT
19+
20+ this will work for pom.xml files. However we have OSGi manifests as well. Linux commands to update versions:
21+
22+ find | grep "MANIFEST\. MF" | xargs sed -i "s/1\. 0\. 2/1\. 0\. 3\. qualifier/g"
23+ find | grep "feature.xml" | xargs sed -i "s/1\. 0\. 2/1\. 0\. 3\. qualifier/g"
24+ find | grep "build.xml" | xargs sed -i "s/1\. 0\. 2/1\. 0\. 3\. qualifier/g"
25+ find | grep "category.xml" | xargs sed -i "s/1\. 0\. 2/1\. 0\. 3\. qualifier/g"
26+ find | grep "ui.app.product" | xargs sed -i "s/1\. 0\. 2/1\. 0\. 3\. qualifier/g"
27+
28+ Example Linux command to find all files with instances of a version number:
29+
30+ find | xargs grep -s "1\. 0\. 2"
You can’t perform that action at this time.
0 commit comments