Skip to content

Commit 744b9d3

Browse files
author
Uwe Vogt
committed
[CANAPI-18] Applied an intermediate solution to build_no.bat
1 parent ac80662 commit 744b9d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/build_no.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo * project : CAN - Controller Area Network >> build_no.h
55
echo * >> build_no.h
66
echo * purpose : CAN Interface API, Version 3 (PCAN-Basic) >> build_no.h
77
echo * >> build_no.h
8-
echo * copyright : (C) 2018-2020, UV Software, Berlin >> build_no.h
8+
echo * copyright : (C) 2018-2021, UV Software, Berlin >> build_no.h
99
echo * >> build_no.h
1010
echo * compiler : Microsoft Visual C/C++ Compiler (Version 19.16) >> build_no.h
1111
echo * >> build_no.h
@@ -20,8 +20,8 @@ echo * >> build_no.h
2020
echo */ >> build_no.h
2121
echo #ifndef BUILD_NO_H_INCLUDED >> build_no.h
2222
echo #define BUILD_NO_H_INCLUDED >> build_no.h
23-
echo #define BUILD_NO \>> build_no.h
24-
svn info --show-item last-changed-revision can_api.c >> build_no.h
23+
rem FIXME: get pseudo build number from git hash
24+
echo #define BUILD_NO 0x0000000 >> build_no.h
2525
echo #define STRINGIFY(X) #X >> build_no.h
2626
echo #define TOSTRING(X) STRINGIFY(X) >> build_no.h
2727
echo #define SVN_REV_INT (BUILD_NO) >> build_no.h

0 commit comments

Comments
 (0)