github gruntwork-io/terratest v0.29.0

latest releases: v0.46.14, v0.46.13, v0.46.12...
3 years ago

Modules affected

  • git

Description

  • git.GetCurrentBranchName will now return empty string when called from detached HEAD (previously this returned HEAD).

  • Added git.GetCurrentGitRef and git.GetCurrentGitRefE functions which will return:

    • Branch name - in case of non-detached state
    • Tag - in case of detached state and existing tag on commit
    • Commit SHA - in case of detached state and non existing tag on commit
  • Miscellaneous documentation fixes

Special thanks

Special thanks to the following users for their contribution!

Related links

Don't miss a new terratest release

NewReleases is sending notifications on new releases.