Skip to content

Commit

Permalink
scripts/ver-is-up2date: fix: misleading error message
Browse files Browse the repository at this point in the history
"v" is used as prefix, not as postfix in the tag
  • Loading branch information
fho committed Feb 12, 2025
1 parent 1c4d3ac commit 95de472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ver-is-up2date.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ -z "$ver" ]; then
fi

if [ "${head_tag#v}" != "$ver" ]; then
fatal "git tag (without 'v' postfix) and string in ver file do not match: '${head_tag}' vs. '${ver}'"
fatal "git tag (without 'v' prefix) and string in ver file do not match: '${head_tag}' vs. '${ver}'"
fi

echo "success: git tag exists and matches with string in ver file: $ver"

0 comments on commit 95de472

Please sign in to comment.