react-git-info icon indicating copy to clipboard operation
react-git-info copied to clipboard

[WIP] Add git version

Open ImpulseDeer opened this issue 1 year ago • 1 comments

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.

ImpulseDeer avatar Oct 12 '22 15:10 ImpulseDeer