From 7cfe581a2c7531cae7bf8959a5b6d41dce67c262 Mon Sep 17 00:00:00 2001 From: Ox Cart Date: Tue, 17 Oct 2023 12:26:01 -0500 Subject: [PATCH] Fixed autoupdate automation --- Makefile | 10 +--------- README.md | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 408018a10..eda5cbea3 100644 --- a/Makefile +++ b/Makefile @@ -244,15 +244,7 @@ require-sentry: @if [[ -z "$(SENTRY)" ]]; then echo 'Missing "sentry-cli" command. See sentry.io for installation instructions.'; exit 1; fi release-autoupdate: require-version - @TAG_COMMIT=$$(git rev-list --abbrev-commit -1 $(TAG)) && \ - if [[ -z "$$TAG_COMMIT" ]]; then \ - echo "Could not find given tag $(TAG)."; \ - fi && \ - for URL in s3://lantern/lantern_update_android_arm-$$VERSION.bz2; do \ - NAME=$$(basename $$URL) && \ - STRIPPED_NAME=$$(echo "$$NAME" | cut -d - -f 1 | sed s/lantern_//).bz2 && \ - s3cmd get --force s3://$(S3_BUCKET)/$$NAME $$STRIPPED_NAME; \ - done && \ + @curl https://s3.amazonaws.com/lantern/lantern-installer.apk | bzip2 > update_android_arm.bz2 && \ $(RUBY) ./create_or_update_release.rb getlantern lantern $$VERSION update_android_arm.bz2 release: require-version require-s3cmd require-wget require-lantern-binaries require-release-track release-prod copy-beta-installers-to-mirrors invalidate-getlantern-dot-org upload-aab-to-play diff --git a/README.md b/README.md index f73c3ea4a..1d18973ff 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ To publish a release on Google Play, go to the Lantern App on the [Google Play C ### Enabling Auto-Update for a Sideloaded Release -Just because something's been released to prod doesn't mean clients will auto-update, there's an additional step for that. +Just because something's been released to prod doesn't mean clients will auto-update, there's an additional step for that. The below will release the current production version to autoupdate. Please make sure the VERSION parameter matches the current production version. ``` GH_TOKEN= VERSION=7.2.0 make release-autoupdate