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 )