Skip to content

Commit

Permalink
Update cronet.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Xwite authored Aug 27, 2024
1 parent 5a13c3e commit c884a13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/cronet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ if version_compare $current_cronet_version $lastest_cronet_version; then
sed -i s/CronetMainVersion=.*/CronetMainVersion=$lastest_cronet_main_version/ $path
# 更新cronet_proguard_rules.pro
sync_proguard_rules
# 添加更新日志
sed "15a* 更新cronet: $lastest_cronet_version" -i $GITHUB_WORKSPACE/app/src/main/assets/updateLog.md
# 更新cronet版本
sed -i "s/## cronet版本: .*/## cronet版本: $lastest_cronet_version/" $GITHUB_WORKSPACE/app/src/main/assets/updateLog.md
# 生成pull request信息
write_github_env_variable PR_TITLE "Bump cronet from $current_cronet_version to $lastest_cronet_version"
write_github_env_variable PR_BODY "Changes in the [Git log](https://chromium.googlesource.com/chromium/src/+log/$current_cronet_version..$lastest_cronet_version)"
# 生成cronet flag
write_github_env_variable cronet ok
fi
fi

0 comments on commit c884a13

Please sign in to comment.