This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Releases Deployment and Git Stuff
jamesemorgan edited this page Mar 18, 2012
·
9 revisions
- git checkout development
- CODE AWAY...
- Ready to commit feature?
- Ensure AndroidManifest.xml has updated version number (this needs scripting)
- git add --all
- git commit (add feature/change list)
- git push (push to development branch)
- Switch to branch develop -> create pull request
- Merge pull request
- Once successful (tag release)
- git checkout master
- git tag -a V? -m"Tagging version ?"
- git push --tags
- git checkout master
- git fetch
- git pull
- git checkout development
- Increment AndroidManifest.xml
- git commit -am"Updating AndroidManifest.xml to 1.3"
- git push
- Update application properties so updates are forced ** https://github.com/jamesemorgan/ApplicationProperties/tree/master/ApplicationUpdates/WeatherSlider
Three Branches:
- master
- production
- development
- git branch production
- git branch development
- git push origin production
- git push origin development
- git tag -a <tag/version> -m '' e.g. git tag -a V1.0 -m"Tagging version 1.0"
- git push --tags
- git branch -D branchname (deletes branch)
- git push origin :branchname (removes from git hub)
- git reset --hard HEAD