From f2b20a8ffc1fdefa777723ee661ee000f8c80b76 Mon Sep 17 00:00:00 2001 From: Daniel Volz Date: Mon, 29 Dec 2025 23:57:04 +0100 Subject: [PATCH] chore: remove secondary remote push prompts from release script --- scripts/release.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 0d03f1b..d3e5e1e 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -18,9 +18,6 @@ YELLOW='\033[1;33m' BLUE='\033[0;34m' NC='\033[0m' # No Color -# Secondary remote (self-hosted git) -SECONDARY_REMOTE="git@git.danielvolz.org:daniel/medassist-ng.git" - # Get script directory and project root SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROJECT_ROOT="$(dirname "$SCRIPT_DIR")" @@ -103,17 +100,6 @@ echo -e "${BLUE}Pushing to origin (GitHub)...${NC}" git push origin main git push origin "v${NEW_VERSION}" -# Ask about secondary remote -echo "" -read -p "Also push to git.danielvolz.org? (y/N) " -n 1 -r -echo "" -if [[ $REPLY =~ ^[Yy]$ ]]; then - echo -e "${BLUE}Pushing to git.danielvolz.org...${NC}" - git push "$SECONDARY_REMOTE" main - git push "$SECONDARY_REMOTE" "v${NEW_VERSION}" - echo -e "${GREEN}✓ Pushed to git.danielvolz.org${NC}" -fi - echo "" echo -e "${GREEN}✓ Released v${NEW_VERSION}${NC}" echo -e "${BLUE}GitHub Actions will now build and publish Docker images.${NC}"