Skip to content

Commit

Permalink
feat(fdr2csv): add sha to executable for more easy distinction
Browse files Browse the repository at this point in the history
  • Loading branch information
aguther committed Feb 5, 2021
1 parent c3d7a56 commit 9e6857d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/fdr2csv/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ cmake -B build
:: build
cmake --build build --config Release

:: get current sha
for /f %%i in ('git rev-parse --short HEAD') do set GIT_SHA=%%i

:: copy result
copy build\Release\fdr2csv.exe .
copy build\Release\fdr2csv.exe fdr2csv_%GIT_SHA%.exe

:: restore directory
popd

0 comments on commit 9e6857d

Please sign in to comment.