diff --git a/Tools/scripts/cygwin_build.sh b/Tools/scripts/cygwin_build.sh index 11cad8e43c..a6283d5fb8 100755 --- a/Tools/scripts/cygwin_build.sh +++ b/Tools/scripts/cygwin_build.sh @@ -32,7 +32,7 @@ mkdir artifacts # python ./waf sub 2>&1 # Get Carbonix version number to name the exe file -FIRMWARE_VERSION=$(grep -oP '#define AP_CUSTOM_FIRMWARE_STRING "\K(.*)(?=")' libraries/AP_Common/CxVersion.h) +FIRMWARE_VERSION=$(grep -oP '#define AP_CUSTOM_FIRMWARE_STRING "\K(.*)(?=")' libraries/AP_Common/CxVersion.h)-$(git rev-parse --short HEAD) # copy both with exe and without to cope with differences # between windows versions in CI