Version bump
This commit is contained in:
parent
f2524984ad
commit
333e23045f
@ -1,6 +1,6 @@
|
||||
# Reproducible Builds
|
||||
|
||||
Note: reproducible builds work starting version 1.1.0
|
||||
Note: reproducible builds work starting version 1.0.44
|
||||
|
||||
## Install Docker
|
||||
|
||||
@ -10,19 +10,19 @@ Download and install [Docker](https://www.docker.com/).
|
||||
|
||||
1. Open the Thorium app
|
||||
2. Go to Settings
|
||||
3. Check the app version listed under About 'Version' (e.g., 1.1.0), and record its value to be used later
|
||||
3. Check the app version listed under About 'Version' (e.g., 1.0.44), and record its value to be used later
|
||||
4. Check the build timestamp under About 'Build Time' (e.g., 1593942384524), and record its value to be used later
|
||||
|
||||
## Download the App open-source code
|
||||
|
||||
1. Make sure you have `git` installed
|
||||
2. Clone the Github repository
|
||||
3. Checkout the Tag that corresponds to the version of your Thorium app (e.g., 1.1.0)
|
||||
3. Checkout the Tag that corresponds to the version of your Thorium app (e.g., 1.0.44)
|
||||
|
||||
```shell
|
||||
git clone https://github.com/sschueller/peertube-android ~/peertube-android
|
||||
cd ~/peertube-android
|
||||
git checkout v1.1.0
|
||||
git checkout v1.0.44
|
||||
```
|
||||
|
||||
## Build the project using Docker
|
||||
@ -34,7 +34,7 @@ git checkout v1.1.0
|
||||
```shell
|
||||
cd ~/peertube-android
|
||||
docker build -t thorium-builder .
|
||||
docker run --rm -v ~/dp3t-app-android-ch:/home/peertube-android -w /home/peertube-android thorium-builder gradle assembleProdRelease -PkeystorePassword=securePassword -PkeyAliasPassword=securePassword -PkeystoreFile=build.keystore -PbuildTimestamp=1593942384524
|
||||
docker run --rm -v ~/peertube-android:/home/peertube-android -w /home/peertube-android thorium-builder gradle assembleProdRelease -PkeystorePassword=securePassword -PkeyAliasPassword=securePassword -PkeystoreFile=build.keystore -PbuildTimestamp=1593942384524
|
||||
cp app/build/outputs/apk/prod/release/app-prod-release.apk thorium-built.apk
|
||||
```
|
||||
|
||||
|
@ -23,8 +23,8 @@ android {
|
||||
applicationId "net.schueller.peertube"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 1043
|
||||
versionName "1.0.43"
|
||||
versionCode 1044
|
||||
versionName "1.0.44"
|
||||
//buildTime readPropertyWithDefault('buildTimestamp', System.currentTimeMillis()) + 'L'
|
||||
//buildConfigField "long", "BUILD_TIME", readPropertyWithDefault('buildTimestamp', System.currentTimeMillis()) + 'L'
|
||||
//resValue "string", "BUILD_TIME", readPropertyWithDefault('buildTimestamp', System.currentTimeMillis()) + 'L'
|
||||
|
Loading…
Reference in New Issue
Block a user