mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
Update cronet.sh
This commit is contained in:
parent
e704c24107
commit
0bed0100b0
4
.github/scripts/cronet.sh
vendored
4
.github/scripts/cronet.sh
vendored
@ -22,9 +22,7 @@ path=$GITHUB_WORKSPACE/gradle.properties
|
|||||||
current_cronet_version=`cat $path | grep CronetVersion | sed s/CronetVersion=//`
|
current_cronet_version=`cat $path | grep CronetVersion | sed s/CronetVersion=//`
|
||||||
echo "current_cronet_version: $current_cronet_version"
|
echo "current_cronet_version: $current_cronet_version"
|
||||||
|
|
||||||
if [[ $current_cronet_version == $lastest_cronet_version ]];then
|
if [[ $current_cronet_version < $lastest_cronet_version ]];then
|
||||||
echo "cronet is already latest"
|
|
||||||
else
|
|
||||||
checkVersionExit
|
checkVersionExit
|
||||||
sed -i s/CronetVersion=.*/CronetVersion=$lastest_cronet_version/ $path
|
sed -i s/CronetVersion=.*/CronetVersion=$lastest_cronet_version/ $path
|
||||||
sed -i s/CronetMainVersion=.*/CronetMainVersion=$lastest_cronet_main_version/ $path
|
sed -i s/CronetMainVersion=.*/CronetMainVersion=$lastest_cronet_main_version/ $path
|
||||||
|
Loading…
Reference in New Issue
Block a user