github gruntwork-io/terratest v0.29.0

latest releases: v0.47.2, v0.47.1, v0.47.0...
4 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.