Author: Adam Evyčędo <git@apiote.xyz>
breezy-weather artifact path
breezy-weather/build.sh | 3 ++-
diff --git a/breezy-weather/build.sh b/breezy-weather/build.sh index 8dda9b65becfaae49eb6e56d4f230421edf7c5e3..f6677f071a9f52b8af32b9c9d003133733815719 100755 --- a/breezy-weather/build.sh +++ b/breezy-weather/build.sh @@ -6,8 +6,9 @@ item="$1" git clone --branch apiote --single-branch --depth 1 https://git.apiote.xyz/git/breezy-weather.git cd breezy-weather +# TODO tag on this commit, else commit hash commit=$(git show --pretty=oneline --abbrev-commit --name-only | head -n1 | cut -d ' ' -f 1) ./gradlew assembleStandardRelease buildTools=$(ls /opt/android-sdk-linux/build-tools | sort -V | tail -n1) "/opt/android-sdk-linux/build-tools/$buildTools/apksigner" sign -ks "/root/android.jks" --ks-pass "file:/root/keystore_pass" --ks-key-alias weather --key-pass "file:/root/key_pass" app/build/outputs/apk/standard/release/app-standard-arm64-v8a-release-unsigned.apk -scp app/build/outputs/apk/standard/release/app-standard-arm64-v8a-release-unsigned.apk "deploy@host.containers.internal:toys/czwek/${item}/BreezyWeather-${commit}" +scp app/build/outputs/apk/standard/release/app-standard-arm64-v8a-release-unsigned.apk "deploy@host.containers.internal:toys/breezy-weather/${item}/BreezyWeather-${commit}_arm64-v8a.apk"