We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd18d90a commit5919f8dCopy full SHA for 5919f8d
check-version.sh
@@ -24,7 +24,6 @@ echo 'Checking that ALL changes are committed.'
24
git status -s --ignore-submodules
25
test -z"$(git status -s --ignore-submodules)"
26
27
-echo'Gathering current version, latest tag, and current HEAD commit info.'
28
version_version="$(cat"$version_path")"
29
changes_version="$(awk'/^[0-9]/ {print $0; exit}'"$changes_path")"
30
config_opts="$(printf' -c versionsort.suffix=-%s' alpha beta pre rc RC)"
@@ -33,6 +32,7 @@ head_sha="$(git rev-parse HEAD)"
33
32
latest_tag_sha="$(git rev-parse"$latest_tag")"
34
35
# Display a table of all the current version, tag, and HEAD commit information.
+echo$'\nThe VERSION must be the same in all locations, and so must the HEAD and tag SHA'
36
printf'%-14s = %s\n''VERSION file'"$version_version" \
37
'changes.rst'"$changes_version" \
38
'Latest tag'"$latest_tag" \