giongto35 / cloud-game

Web-based Cloud Gaming service for Retro Game
https://www.youtube.com/watch?v=GUBrJGAxZZg
Apache License 2.0
2.32k stars 348 forks source link

Add version info into the apps #330

Closed sergystepanov closed 3 years ago

sergystepanov commented 3 years ago

Both worker and coordinator display version number in the console during startup. Coordinator displays its version number in the top left corner of the index.html page. image

Version number's format (see: https://git-scm.com/docs/git-describe):

v2-1-gcafeb
^  ^ ^ ^
|  | | |
|  | | '- commit hash of HEAD (1st 5 symbols)
|  | '-- "g" stands for git
|  '---- n commits since the last tag
'------- last tag