build directory based upon git branch name?

Is it possible to build a module to a directory based upon the branch name for a module that is under git?

Please sign in to leave a comment.