uncomenting more
This commit is contained in:
@ -43,14 +43,14 @@ jobs:
|
|||||||
PROJECT_NAME="${EXPORT_NAME}"
|
PROJECT_NAME="${EXPORT_NAME}"
|
||||||
COMMIT_NUMBER="${GITHUB_RUN_NUMBER}"
|
COMMIT_NUMBER="${GITHUB_RUN_NUMBER}"
|
||||||
BRANCH_NAME="${GITHUB_REF_NAME}"
|
BRANCH_NAME="${GITHUB_REF_NAME}"
|
||||||
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-8)
|
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-8)
|
||||||
|
|
||||||
# # Update the version_text.gd file with these values
|
# Update the version_text.gd file with these values
|
||||||
# sed -i "s/var project_name: String = \"X\"/var project_name: String = \"${PROJECT_NAME}\"/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
sed -i "s/var project_name: String = \"X\"/var project_name: String = \"${PROJECT_NAME}\"/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
||||||
# sed -i "s/var commit_number: int = 0/var commit_number: int = ${COMMIT_NUMBER}/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
sed -i "s/var commit_number: int = 0/var commit_number: int = ${COMMIT_NUMBER}/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
||||||
# sed -i "s/var branch_name: String = \"X\"/var branch_name: String = \"${BRANCH_NAME}\"/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
sed -i "s/var branch_name: String = \"X\"/var branch_name: String = \"${BRANCH_NAME}\"/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
||||||
# sed -i "s/var short_sha: String = \"X\"/var short_sha: String = \"${SHORT_SHA}\"/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
sed -i "s/var short_sha: String = \"X\"/var short_sha: String = \"${SHORT_SHA}\"/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
||||||
# sed -i "s/var build_override: bool = false/var build_override: bool = true/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
sed -i "s/var build_override: bool = false/var build_override: bool = true/" ${PROJECT_PATH}/game/scripts/version_text.gd
|
||||||
|
|
||||||
# # Show the updated file for verification
|
# # Show the updated file for verification
|
||||||
# echo "Updated version_text.gd:"
|
# echo "Updated version_text.gd:"
|
||||||
|
|||||||
Reference in New Issue
Block a user