Twenga / twgit

Twgit is a free and open source assisting tools for managing features, hotfixes and releases on Git repositories. It provides simple, high-level commands to adopt the branching model describes in our documentation. Supported OS: Debian/Ubuntu Linux, Mac OS X 10.8 (Mountain Lion) or lower.
http://twgit.twenga.com/
Other
111 stars 34 forks source link

Add hook before/after twgit command to execute shell script #120

Closed chemidy closed 3 years ago

chemidy commented 10 years ago

We need the possibility to execute shell script before/after twgit command.

We need to launch a shell script to tag the version on a file, and launch composer update, commit additional data, ...

We need to launch composer update each time we switch on a feature.

So, i will add the possibility to launch script files for each command before/after twgit command.

To use this hook, we just have to create a .twgit directory on our project, and add new shell scripts with the right name.

twgit_hook_release_after.sh twgit_hook_release_before.sh twgit_hook_feature_before.sh twgithook....