From 40654fd5beaa2ea07f3f0bdff102ae5d686459c3 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Fri, 30 May 2025 17:41:23 -0600 Subject: [PATCH] schema compartido ::ALTOPELIGRO:: --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 59c057b..2ddb1f5 100644 --- a/Makefile +++ b/Makefile @@ -21,14 +21,15 @@ down: todo: estructura build sync-to-github: - @echo "Synchronizing to GitHub..." - @if ! git remote | grep -q '^github$$'; then \ - echo "Adding GitHub remote..."; \ - git remote add github $(GITHUB_REPO_URL); \ - fi + @echo Synchronizing to GitHub... + @if not exist ".git\refs\remotes\github" ( \ + echo Adding GitHub remote... && \ + git remote add github $(GITHUB_REPO_URL) \ + ) git push github --all git push github --tags - @echo "Synchronization to GitHub complete." + @echo Synchronization to GitHub complete. + sync-to-gitea: @echo "Synchronizing to Gitea..."