1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-28 14:15:54 +00:00
QB64-PE/source/global/version.bas
Roland Heyder c3d12c7d22 Bump Version
- added embed info to docs
- finalizing the new release
2023-12-18 15:25:55 +01:00

22 lines
605 B
QBasic

DIM SHARED Version AS STRING
DIM SHARED IsCiVersion AS _BYTE
Version$ = "3.10.0"
$VERSIONINFO:FILEVERSION#=3,10,0,0
$VERSIONINFO:PRODUCTVERSION#=3,10,0,0
' If ./internal/version.txt exist, then this is some kind of CI build with a label
IF _FILEEXISTS("internal/version.txt") THEN
versionfile = FREEFILE
OPEN "internal/version.txt" FOR INPUT AS #versionfile
LINE INPUT #versionfile, VersionLabel$
Version$ = Version$ + VersionLabel$
IF VersionLabel$ <> "" AND VersionLabel$ <> "-UNKNOWN" THEN
IsCiVersion = -1
END IF
CLOSE #versionfile
END IF