Files
QuickLook/update-version.cmd
Emanuel Alves ef9b854939 - Moved the download logic to a background worker so that the main app doesn't stop working while the file is being downloaded.
- The logic to check for new updates is now separated into one function;
- Replaced all messageboxes to Notifications
To-Do: Actionable Notifications; Show releases-notes popup;
2017-06-09 17:54:15 +01:00

10 lines
358 B
Batchfile

rem @echo off
cd %1
for /F "delims=" %%i in ('git describe --always --tags "--abbrev=0"') do set git_tag=%%i
for /F "delims=" %%i in ('git describe --always --tags') do set git_revision=%%i
echo // This file is generated by update-version.cmd > %2
echo. >> %2
echo using System.Reflection;>> %2
echo. >> %2
echo [assembly: AssemblyVersion("%git_tag%")]>> %2