Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd2890 commit b27a89fCopy full SHA for b27a89f
check-version.sh
@@ -29,7 +29,7 @@ changes_version="$(awk '/^[0-9]/ {print $0; exit}' "$changes_path")"
29
config_opts="$(printf ' -c versionsort.suffix=-%s' alpha beta pre rc RC)"
30
latest_tag="$(git $config_opts tag -l '[0-9]*' --sort=-v:refname | head -n1)"
31
head_sha="$(git rev-parse HEAD)"
32
-latest_tag_sha="$(git rev-parse "$latest_tag")"
+latest_tag_sha="$(git rev-parse "${latest_tag}^{commit}")"
33
34
# Display a table of all the current version, tag, and HEAD commit information.
35
echo $'\nThe VERSION must be the same in all locations, and so must the HEAD and tag SHA'
0 commit comments