by oleks on 6/2/18, 10:29 AM with 23 comments
by tomxor on 6/2/18, 1:26 PM
- Fetches
- Checks the branch you are deploying from hasn't diverged from it's tracking branch.
- Checks whether each path+tree-object combo trying to be deployed has already been tagged.
- Checks whether each tree path being deployed is clean.
- Finally, if it fails to push new tags it reverts everything to prevent deploys unavailable to everyone else.
I built this for a special type of content deployment for the company I work for but I think it's only been used internally so far (albeit successfully) - I made the tool as generalised as possible though as the core concept is quite re-usable, but I don't think I have described it's purpose clearly enough for the rest of the world in the readme:by wereHamster on 6/2/18, 10:56 AM
. "$(git --exec-path)/git-sh-setup"
require_clean_work_tree "bump" "Please commit or stash them."
https://git-scm.com/docs/git-sh-setupby TekMol on 6/2/18, 10:42 AM
by colemickens on 6/2/18, 1:11 PM
Er, I guess that doesn't tell if you if you have un-pushed changes... but if your deployment process allows someone to deploy without pushing, your process is broken. Someone will deploy to Prod and forget to push their config changes, eventually.
by kbob on 6/3/18, 9:05 PM
by kinow on 6/2/18, 12:09 PM
by wiz21c on 6/2/18, 11:45 AM
by _ZeD_ on 6/2/18, 12:56 PM