Skip to content

Commit 7d984cb

Browse files
committed
added version bump script
1 parent f89d4b0 commit 7d984cb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

bump.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
old=$1
4+
new=$2
5+
6+
echo "bump version from $old to $new..."
7+
8+
sed -i '.bak' "s/$old/$new/g" library.properties
9+
rm library.properties.bak
10+
11+
sed -i '.bak' "s/$old/$new/g" README.md
12+
rm README.md.bak
13+
14+
sed -i '.bak' "s/$old/$new/g" src/YunMQTTClient.cpp
15+
rm src/YunMQTTClient.cpp.bak

0 commit comments

Comments
 (0)