🔨 Suppress generate_version (for now)

This commit is contained in:
Scott Lahteine 2025-04-16 14:43:53 -05:00
parent f3be22c4ff
commit bd382fb8a1

View file

@ -3,12 +3,19 @@
# generate_version
#
# Make a Version.h file to accompany CUSTOM_VERSION_FILE
# Invoked automatically by Arduino IDE
#
# Authors: jbrazio, thinkyhead, InsanityAutomation, rfinnie
#
set -e
# Only run if ALLOW_GENERATE_VERSION is set
if [[ "$ALLOW_GENERATE_VERSION" != "1" ]]; then
echo "Skipping generate_version because ALLOW_GENERATE_VERSION is not set."
exit 0
fi
DIR="${1:-Marlin}"
READ_FILE="${READ_FILE:-${DIR}/Version.h}"
WRITE_FILE="${WRITE_FILE:-${READ_FILE}}"