Skip to content

Commit

Permalink
CI: append commit hash to version for SITL exe
Browse files Browse the repository at this point in the history
SW-241
  • Loading branch information
robertlong13 committed Jun 28, 2024
1 parent 1e10b1e commit 724018a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/scripts/cygwin_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 724018a

Please sign in to comment.