From c8a4f66cf85beb65f99ba727c63124a0a74ceac0 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Sun, 15 Sep 2024 12:50:00 +0000 Subject: [PATCH] build: fix UpdateAppcast.cmake Hardcode `git` instead of using `${GIT_EXECUTABLE}` which we are not using anymore. Signed-off-by: Rafael Kitover --- cmake/UpdateAppcast.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/UpdateAppcast.cmake b/cmake/UpdateAppcast.cmake index 6fdf4f14..738285fa 100644 --- a/cmake/UpdateAppcast.cmake +++ b/cmake/UpdateAppcast.cmake @@ -16,7 +16,7 @@ Ignore the following cmake error. # Get last tag. execute_process( - COMMAND ${GIT_EXECUTABLE} tag --sort=-v:refname + COMMAND git tag --sort=-v:refname OUTPUT_VARIABLE git_tags OUTPUT_STRIP_TRAILING_WHITESPACE WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} @@ -43,7 +43,7 @@ Ignore the following cmake error. # Clone repo. execute_process( - COMMAND ${GIT_EXECUTABLE} clone git@github.com:visualboyadvance-m/visualboyadvance-m.github.io web-data + COMMAND git clone git@github.com:visualboyadvance-m/visualboyadvance-m.github.io web-data WORKING_DIRECTORY ${CMAKE_BINARY_DIR} ) @@ -103,21 +103,21 @@ Ignore the following cmake error. ) execute_process( - COMMAND ${GIT_EXECUTABLE} add appcast.xml + COMMAND git add appcast.xml WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/web-data ) # Commit the change. execute_process( - COMMAND ${GIT_EXECUTABLE} commit -m "release ${new_tag}" --signoff -S + COMMAND git commit -m "release ${new_tag}" --signoff -S WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/web-data ) # Make release tag. execute_process( - COMMAND ${GIT_EXECUTABLE} tag -s -m${new_tag} ${new_tag} + COMMAND git tag -s -m${new_tag} ${new_tag} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/web-data )