| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,7 +29,7 @@ changes_version="$(awk '/^[0-9]/ {print $0; exit}' "$changes_path")" | |||
| 29 | 29 | config_opts="$(printf ' -c versionsort.suffix=-%s' alpha beta pre rc RC)" | |
| 30 | 30 | latest_tag="$(git $config_opts tag -l '[0-9]*' --sort=-v:refname | head -n1)" | |
| 31 | 31 | head_sha="$(git rev-parse HEAD)" | |
| 32 | - latest_tag_sha="$(git rev-parse "$latest_tag")" | ||
| 32 | + latest_tag_sha="$(git rev-parse "${latest_tag}^{commit}")" | ||
| 33 | 33 | ||
| 34 | 34 | # Display a table of all the current version, tag, and HEAD commit information. | |
| 35 | 35 | echo $'\nThe VERSION must be the same in all locations, and so must the HEAD and tag SHA' | |
| Back | FazBrowse Home | New Git URL |
0 commit comments