From d7b53cfca40eb2444a4cb29c1c2bf19ebfae277a Mon Sep 17 00:00:00 2001 From: HalfLife <6436073+o0HalfLife0o@users.noreply.github.com> Date: Fri, 6 Aug 2021 16:45:42 +0800 Subject: [PATCH] Update legado.yml --- .github/workflows/legado.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/legado.yml b/.github/workflows/legado.yml index 74e30a461..b0f3b982e 100644 --- a/.github/workflows/legado.yml +++ b/.github/workflows/legado.yml @@ -50,6 +50,9 @@ jobs: echo "设置apk共存" sed "s/'.release'/'.releaseA'/" $GITHUB_WORKSPACE/app/build.gradle -i sed 's/.release/.releaseA/' $GITHUB_WORKSPACE/app/google-services.json -i + echo "统一版本号" + version=$(date -d "8 hour" -u +3.%y.%m%d%H%M) + sed "/def version/c def version = \"$version\"" $GITHUB_WORKSPACE/app/build.gradle -i - name: Build With Gradle run: | echo "开始进行release构建"