diff --git a/misc/scripts/copy_gdnative_headers.sh b/misc/scripts/copy_gdnative_headers.sh new file mode 100755 index 0000000000..f117dd06c5 --- /dev/null +++ b/misc/scripts/copy_gdnative_headers.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +# Run this script form it's own folder + +cd ../.. + +cp -u ./modules/gdnative/include/gdnative_api_struct.gen.h ./bin/gdnative_api_struct.gen.h + + diff --git a/misc/scripts/pre_release_check_files_present.sh b/misc/scripts/pre_release_check_files_present.sh index 6b42e2ed1d..93a2e84ced 100755 --- a/misc/scripts/pre_release_check_files_present.sh +++ b/misc/scripts/pre_release_check_files_present.sh @@ -112,6 +112,9 @@ files=( # IOS - final template "iphone.zip" + + # GDNative generated header, the rest will be generated by the engine or copied + "gdnative_api_struct.gen.h" ) error=0