diff --git a/scripts/pretty_gcode.sh b/scripts/pretty_gcode.sh index f5e74ca..23822c1 100644 --- a/scripts/pretty_gcode.sh +++ b/scripts/pretty_gcode.sh @@ -104,7 +104,7 @@ function get_remote_prettygcode_commit() { [[ ! -d ${PGC_DIR} || ! -d "${PGC_DIR}/.git" ]] && return cd "${PGC_DIR}" && git fetch origin -q - commit=$(git describe origin/master --always --tags | cut -d "-" -f 1,2) + commit=$(git describe origin/main --always --tags | cut -d "-" -f 1,2) echo "${commit}" }