mirror of
https://github.com/therootcompany/golib.git
synced 2026-03-02 23:57:59 +00:00
In a monorepo the module's most recent commit is often behind HEAD (other modules may have been committed on top). git log --format=%H -1 -- . run from the module root returns the SHA of the last commit that touched that directory; we pass it explicitly to `git tag <tag> <sha>` instead of letting git default to HEAD.
golib
Sometimes a little copying, sometimes a little dependency. Too small for their own repos.
The default branch is dev, but the stable, versioned tags are based on main.
Also, my Go Cheatsheet:
Languages
Go
100%