Skip to content

Commit

Permalink
Remove dysfunctional vibe:core version check.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Feb 14, 2024
1 parent 628af49 commit 32fd996
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/test_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ set -xueo pipefail

# test version strings
ver_git=$(git describe --abbrev=0 --tags)
ver_vibe=$(sed -n 's|.*vibeVersionString\s*= "\(.*\)";$|\1|p' core/vibe/core/core.d)
ver_meson_base=$(sed -n 's|\s*version\s*: '"'"'\(.*\)'"'"'$|\1|p' meson.build)
ver_meson_suffix=$(sed -n 's|project_version_suffix\s*= '"'"'~\([a-z]*\)\([0-9]*\)'"'"'$|-\1.\2|p' meson.build)

if [ "${ver_git}" != v"$ver_vibe" -o "${ver_git}" != "v$ver_meson_base$ver_meson_suffix" ]; then
if [ "${ver_git}" != "v$ver_meson_base$ver_meson_suffix" ]; then
echo "Mismatch between versions."
echo " git: '$ver_git'"
echo " vibeVersionString: '$ver_vibe'"
Expand Down

0 comments on commit 32fd996

Please sign in to comment.