You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The makefile runs some shell commands to collect version information
about the build. The changes currently fail on Windows becuase of some
unix only options and commands. This fixes the two specific lines with
commands to allow the build, testing, etc. to work as expected.
Fixes: influxdata#11014
The shell used on windows by default is sh.exe, where cat does not exist and the -f option for rm is not a thing, that is a unix-only flag. I have put up #11015 to run platform-specific commands for these two to allow the build to correctly set the version.
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.23.0, Windows 11, Powershell 5.1.22000.282, GNU make 3.81
Docker
No response
Steps to reproduce
Compile on Windows via
make build
Expected behavior
Working binary
Actual behavior
Binary fails to start due to non-semantic versioning
Additional info
Output from
make build
:Having a fallback semantic version of 0.0.0 might work?
The text was updated successfully, but these errors were encountered: