Merge pull request #5564 from nextcloud/devLibrary2

fix dev lib replacement
This commit is contained in:
Tobias Kaminsky 2020-03-03 07:23:43 +01:00 committed by GitHub
commit 3ca46b9a19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ sed -i "/versionDev/,/\}/ s/versionCode .*/versionCode $date/" build.gradle
sed -i "/versionDev/,/\}/ s/versionName .*/versionName \"$date\"/" build.gradle
# change library
sed -i s"#androidLibraryVersion.*#androidLibraryVersion =\"$libraryCommit\"#" build.gradle
sed -i s"#androidLibraryVersion\ =.*#androidLibraryVersion =\"$libraryCommit\"#" build.gradle
# build signed apk
./gradlew assembleVersionDevRelease >> /tmp/dev.log 2>&1