File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ compiler.elf2hex.extra_flags=
70
70
71
71
## generate file with git version number
72
72
## needs bash, git, and echo
73
- recipe.hooks.core.prebuild.1.pattern=bash -c "mkdir -p {build.path}/core && echo \#define ARDUINO_ESP8266_GIT_VER `cd {runtime.platform.path}; git describe --tags 2>/dev/null || echo ffffffff ` >{build.path}/core/core_version.h"
73
+ recipe.hooks.core.prebuild.1.pattern=bash -c "mkdir -p {build.path}/core && echo \#define ARDUINO_ESP8266_GIT_VER `cd {runtime.platform.path}; git describe --tags 2>/dev/null || echo nix-{version} ` >{build.path}/core/core_version.h"
74
74
## windows-compatible version may be added later - warn: this string below has only been tested with "wine cmd.exe"
75
75
recipe.hooks.core.prebuild.1.pattern.windows=cmd /c echo #define ARDUINO_ESP8266_GIT_VER win-{version} > {build.path}\\core\\core_version.h
76
76
You can’t perform that action at this time.
0 commit comments