Content-Length: 261229 | pFad | http://github.com/gitpython-developers/GitPython/commit/b27a89f683cda85ebd78243c055e876282df89ee

A4 fix makefile to compare commit hashes only · gitpython-developers/GitPython@b27a89f · GitHub
Skip to content

Commit b27a89f

Browse files
committed
fix makefile to compare commit hashes only
Otherwise, with signed commits, the latest-tag-HEAD comparison would always fail.
1 parent 0bd2890 commit b27a89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ changes_version="$(awk '/^[0-9]/ {print $0; exit}' "$changes_path")"
2929
config_opts="$(printf ' -c versionsort.suffix=-%s' alpha beta pre rc RC)"
3030
latest_tag="$(git $config_opts tag -l '[0-9]*' --sort=-v:refname | head -n1)"
3131
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}")"
3333

3434
# Display a table of all the current version, tag, and HEAD commit information.
3535
echo $'\nThe VERSION must be the same in all locations, and so must the HEAD and tag SHA'

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/gitpython-developers/GitPython/commit/b27a89f683cda85ebd78243c055e876282df89ee

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy