jmongard / Git.SemVersioning.Gradle

Gradle plugin for automatically versioning a project using semantic versioning and conventional commits with change log support based on git commit messages.
https://plugins.gradle.org/plugin/com.github.jmongard.git-semver-plugin
Apache License 2.0
38 stars 4 forks source link

chore(ChangeLogSettings): Use full-length SHA1s by default #35

Closed sschuberth closed 1 year ago

sschuberth commented 1 year ago

Sometimes GitHub is not able to automatically resolve short SHA1s to commits as part of its release notes, so use full SHA1s instead; they will only be rendered as short SHA1s as part of notes attched to GitHub releases anyway.

sschuberth commented 1 year ago

For an example see https://github.com/oss-review-toolkit/ort/releases/tag/1.1.0 where "f11076a" cannot be resolved:

image

Changing it to full-length f11076a372b7d1e4b8bdeccc6d1f0283ce8e8325 will make it render correctly (but still short):

image