Skip to content

Instantly share code, notes, and snippets.

@michellescripts
Created July 29, 2020 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michellescripts/443dfe9de50f778290a38ea9ae7dfeda to your computer and use it in GitHub Desktop.
Save michellescripts/443dfe9de50f778290a38ea9ae7dfeda to your computer and use it in GitHub Desktop.
push script: rebase, run tests, git push
#!/usr/bin/env bash
set -xe
pushd ${PROJECT_DIR}
git pull -r && \
./gradlew build && \
git push
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment