Skip to content

Commit

Permalink
Fix #722 : version numbers are fetched in quakever.h now
Browse files Browse the repository at this point in the history
  • Loading branch information
vsonnier committed Aug 23, 2024
1 parent b15d742 commit 1c1fe52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Packaging/AppImage/get-version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
BASE_VERSION=`grep -oP "^#define\s*VKQUAKE_VERSION\s*\K[0-9.]*" ../../Quake/quakedef.h`
PATCH_VERSION=`grep -oP "^#define\s*VKQUAKE_VER_PATCH\s*\K[0-9.]*" ../../Quake/quakedef.h`
SUFFIX=`grep -oP "^#define\s*VKQUAKE_VER_SUFFIX\s*\"\K([^\"]*)" ../../Quake/quakedef.h`
BASE_VERSION=`grep -oP "^#define\s*VKQUAKE_VERSION\s*\K[0-9.]*" ../../Quake/quakever.h`
PATCH_VERSION=`grep -oP "^#define\s*VKQUAKE_VER_PATCH\s*\K[0-9.]*" ../../Quake/quakever.h`
SUFFIX=`grep -oP "^#define\s*VKQUAKE_VER_SUFFIX\s*\"\K([^\"]*)" ../../Quake/quakever.h`
echo ${BASE_VERSION}.${PATCH_VERSION}${SUFFIX}

0 comments on commit 1c1fe52

Please sign in to comment.