From 6a87f05b462a9b6315b1bf150ca57babc708bf0b Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Sat, 5 Mar 2022 21:45:56 +0800 Subject: [PATCH] ci(cronet):update updateLog.md when cronet is updated --- .github/scripts/cronet.sh | 1 + .github/workflows/release.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/cronet.sh b/.github/scripts/cronet.sh index f50d06ec6..02d980439 100644 --- a/.github/scripts/cronet.sh +++ b/.github/scripts/cronet.sh @@ -44,6 +44,7 @@ if [[ $current_cronet_version == $lastest_cronet_version ]];then echo "cronet is already latest" else sed -i s/CronetVersion=.*/CronetVersion=$lastest_cronet_version/ $path + sed "15a* 更新cronet: $lastest_cronet_version" -i $GITHUB_WORKSPACE/app/src/main/assets/updateLog.md echo "start download latest cronet" chmod +x gradlew ./gradlew app:downloadCronet diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6a921f59..dea7b5c78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,6 @@ jobs: git add *cronet*jar git add *cronet.json git add gradle.properties - sed "15a* 更新cronet: $lastest_cronet_version" -i app/src/main/assets/updateLog.md git add *updateLog.md git commit -m "bump cronet version: $lastest_cronet_version" -m "changes in the [Git log](https://chromium.googlesource.com/chromium/src/+log/$current_cronet_version..$lastest_cronet_version)" git push origin master