react-git-info
react-git-info copied to clipboard
[WIP] Add git version
Tried adding a git version macro using
git describe --tags --long --dirty
Based on a fork by martatesar: https://github.com/AbhyudayaSharma/react-git-info/compare/master...martatesar:react-git-info:master
I envisioned GitInfo and GitVersion as two different macros in the same way as they are different git commands. But haven't figured out if that is doable or not with babel-plugin-macros yet. Current state of the branch is that I have inactivated the original GitInfo macro to test the new GitVersion macro.
Help and feedback is welcome on how to proceed.