When you log in as admin, you will see the version number on the dashboard.
In the latest zip file you download there is an
\---productinnovation-loyalty-discount-[commit_hash] +---docs +---htdocs \---updates incremental-update-x.x.x.zip
incremental-update-x.x.x.zip contains all updated files, so you do not have to worry about your current version. You can simply overwrite the files of your installation with the update files, it doesn't matter which version the Zip or your installation has.
incremental-update-x.x.x.zip file contains a
htdocs directory. Extract the files in that directory to the root directory of your installation.
The contents of the Zip file you download always has the latest version in the
htdocs directory. You do not need to update if you install the script for the first time. Only if you have already installed the script and want to update to a newer version.