1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-24 19:25:14 +00:00
QB64-PE/source/global/version.bas
SteveMcNeill 97ab4f4dc9 Update to version
Reset version number to 0.5.0.
Added "Phoenix Edition" to our name, so nobody will think we're still working with the old team of QB64, and mistakenly donate to the wrong Patreon, or buy merchandise wrongly thinking they were supporting us.  :)
2022-04-28 17:21:22 -04:00

20 lines
497 B
QBasic

DIM SHARED Version AS STRING
DIM SHARED IsCiVersion AS _BYTE
Version$ = "0.5.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$ <> "" then
IsCiVersion = -1
end if
CLOSE #versionfile
END IF