Commit 299a8a70 authored by Torsten Grote's avatar Torsten Grote

print absolute path of APK

parent 8c676f28
Pipeline #3829 failed with stages
in 11 minutes and 42 seconds
......@@ -13,7 +13,7 @@ variables:
TEST_IMAGE: briar/reproducer:${CI_BUILD_REF_NAME}
RELEASE_IMAGE: briar/reproducer:latest
TAG_IMAGE: briar/reproducer:${RELEASE_TAG}
APK_PATH: /opt/briar-reproducer/briar-build/briar-android/build/outputs/apk/official/release/briar-android-official-release-unsigned.apk
APK_PATH: /opt/briar-reproducer/briar/briar-android/build/outputs/apk/official/release/briar-android-official-release-unsigned.apk
before_script:
- echo ${DOCKER_HUB_PASS} | docker login -u ${DOCKER_HUB_USER} --password-stdin
......
......@@ -40,7 +40,10 @@ def main():
# check if both APKs match
apk = os.path.join(BUILD_DIR, APK_PATH if version >= "1.1.0" else OLD_APK_PATH)
print(os.path.abspath(apk))
check_call(["sha256sum", apk])
print(os.path.abspath(os.path.join(REPO_DIR, APK_PATH)))
check_call(["sha256sum", os.path.abspath(os.path.join(REPO_DIR, APK_PATH))])
if call(['./verify-apk.py', reference_apk, apk]) == 0:
print("Version '%s' was built reproducible! :)" % tag)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment