Skip to content

Instantly share code, notes, and snippets.

@lindwurm
Last active Oct 17, 2021
Embed
What would you like to do?
#!/bin/bash
cd prebuilts_bromite/app
TAGNAME=$(echo $(curl -s https://api.github.com/repos/bromite/bromite/releases/latest | grep "tag_name" | cut -d : -f 2 | tr -d \",))
BASEURL=https://github.com/bromite/bromite/releases
curl -H 'Accept: application/octet-stream' -L \
-O ${BASEURL}/download/${TAGNAME}/arm_ChromePublic.apk \
-O ${BASEURL}/download/${TAGNAME}/arm64_ChromePublic.apk \
-O ${BASEURL}/download/${TAGNAME}/x86_ChromePublic.apk
git commit -m "Bromite v${TAGNAME}" -m "* ${BASEURL}/tag/${TAGNAME}" -as
# git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment