Skip to content

Commit

Permalink
Add build counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparker95 committed Nov 16, 2019
1 parent dbe3bab commit affcc9f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/_buildID.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3
8 changes: 8 additions & 0 deletions tools/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ if ERRORLEVEL 1 (
exit /b
)

rem increase build ID
set /P _id=<_buildID.txt
set /a _id=%_id%+1
echo "New build ID is:"
echo %_id%
break>_buildID.txt
echo %_id% >> _buildID.txt

rem CD into build tool directory
cd /d "%~dp0buildtool"

Expand Down

0 comments on commit affcc9f

Please sign in to comment.