Last active
March 5, 2019 17:03
-
-
Save TomGranot/45123a191d1ecac5bb7239d8750f4f15 to your computer and use it in GitHub Desktop.
Config.yml part 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- run: | |
name: Bump Version & Push To Repo | |
command: | | |
cd scripts | |
./version-bumper.sh | |
printf "\n" | |
echo "-- Pushing To Github --" | |
printf "\n" | |
git config credential.helper 'cache --timeout=120' | |
git config user.email ${GITHUB_EMAIL} | |
git config user.name ${GITHUB_USERNAME} | |
git add ../app/build.gradle | |
git commit -m "Bumping Project Version [ci skip]" | |
cd .. | |
git push https://${GITHUB_API_TOKEN}@github.com/${GITHUB_USERNAME}/${CIRCLE_PROJECT_REPONAME}.git ${CIRCLE_BRANCH} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment