Merge pull request #1214 from o0HalfLife0o/master

统一release和cronet的版本号,并加上“分”,以区别同时段的多个commit
pull/1217/head^2
kunfei 3 years ago committed by GitHub
commit df072a3f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/legado.yml

@ -50,6 +50,9 @@ jobs:
echo "设置apk共存" echo "设置apk共存"
sed "s/'.release'/'.releaseA'/" $GITHUB_WORKSPACE/app/build.gradle -i sed "s/'.release'/'.releaseA'/" $GITHUB_WORKSPACE/app/build.gradle -i
sed 's/.release/.releaseA/' $GITHUB_WORKSPACE/app/google-services.json -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 - name: Build With Gradle
run: | run: |
echo "开始进行release构建" echo "开始进行release构建"

Loading…
Cancel
Save