From 333e23045f135babde5f69700995d1c1a54b8a23 Mon Sep 17 00:00:00 2001 From: Stefan Schueller Date: Sun, 5 Jul 2020 20:12:43 +0200 Subject: [PATCH] Version bump --- REPRODUCIBLE_BUILDS.md | 10 +++++----- app/build.gradle | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/REPRODUCIBLE_BUILDS.md b/REPRODUCIBLE_BUILDS.md index dc3fd03..00bf5ef 100644 --- a/REPRODUCIBLE_BUILDS.md +++ b/REPRODUCIBLE_BUILDS.md @@ -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 ``` diff --git a/app/build.gradle b/app/build.gradle index a043fd7..4f789c7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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'