Skip to content

Commit 1242b6b

Browse files
author
Ian Craggs
committed
Some partial README information
1 parent 6fd2651 commit 1242b6b

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
11
Paho 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"

0 commit comments

Comments
 (0)