build: fix UpdateAppcast.cmake
Hardcode `git` instead of using `${GIT_EXECUTABLE}` which we are not using anymore. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
ddc93ec6e1
commit
c8a4f66cf8
|
@ -16,7 +16,7 @@ Ignore the following cmake error.
|
||||||
# Get last tag.
|
# Get last tag.
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${GIT_EXECUTABLE} tag --sort=-v:refname
|
COMMAND git tag --sort=-v:refname
|
||||||
OUTPUT_VARIABLE git_tags
|
OUTPUT_VARIABLE git_tags
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
|
@ -43,7 +43,7 @@ Ignore the following cmake error.
|
||||||
# Clone repo.
|
# Clone repo.
|
||||||
|
|
||||||
execute_process(
|
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}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -103,21 +103,21 @@ Ignore the following cmake error.
|
||||||
)
|
)
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${GIT_EXECUTABLE} add appcast.xml
|
COMMAND git add appcast.xml
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/web-data
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/web-data
|
||||||
)
|
)
|
||||||
|
|
||||||
# Commit the change.
|
# Commit the change.
|
||||||
|
|
||||||
execute_process(
|
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
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/web-data
|
||||||
)
|
)
|
||||||
|
|
||||||
# Make release tag.
|
# Make release tag.
|
||||||
|
|
||||||
execute_process(
|
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
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/web-data
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue