Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb27a89f

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

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)

[8]ページ先頭

©2009-2025 Movatter.jp