Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Commit 2920035

Browse files
committed
-
1 parent a84ea8a commit 2920035

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

bin/tweetNewVersion

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
3+
function findSettingValue {
4+
echo "$( grep "$1 :=" build.sbt | cut -d' ' -f 3 | tr -d \" | tr -d '\n' | tr -d '\r' )"
5+
}
6+
7+
function findVarValue {
8+
echo "$( grep "$1 =" build.sbt | cut -d' ' -f 4 | tr -d \" | tr -d '\n' | tr -d '\r' )"
9+
}
10+
11+
VER="$( findVarValue web3jVersion )"
12+
13+
read -r -d '' TWEET << EndOfMessage
14+
I updated web3j-scala to match upstream (web3j v$VER).
15+
web3j-scala supports Scala 2.12 and 2.13.
16+
17+
https://github.com/mslinn/web3j-scala
18+
19+
#web3j #ethereum #Scala
20+
EndOfMessage
21+
22+
echo "$TWEET"

0 commit comments

Comments
 (0)