Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
VERSION="$(cat app/ | grep -o "VERSION_CODE=\+[0-9]\+" | cut -c 14-)"
sed -i "s/\(VERSION_CODE=\).*\$/\1${VERSION_NEW}/" app/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.