Skip to content

Instantly share code, notes, and snippets.

@ezenkin
Created October 26, 2020 13:32
Show Gist options
  • Save ezenkin/5f36b7b53581611c219b272b63bff9ef to your computer and use it in GitHub Desktop.
Save ezenkin/5f36b7b53581611c219b272b63bff9ef to your computer and use it in GitHub Desktop.
Get suffix to add to a version in go.mod file
TZ=UTC git --no-pager show --quiet --abbrev=12 --date='format-local:%Y%m%d%H%M%S' --format="%cd-%h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment