From 0baa1cf84ce4a804c2dbf15431fd8eefcda547df Mon Sep 17 00:00:00 2001 From: Pavindu Lakshan Date: Fri, 18 Apr 2025 12:25:16 +0530 Subject: [PATCH] Remove git pull --- .github/scripts/release.sh | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/scripts/release.sh b/.github/scripts/release.sh index ab7dd4f..6a94a9f 100644 --- a/.github/scripts/release.sh +++ b/.github/scripts/release.sh @@ -27,26 +27,9 @@ VERSION_TYPE=$3 # possible values: major, minor, patch BUILD_DIRECTORY="$WORK_DIR/build" RELEASE_DIRECTORY="$BUILD_DIRECTORY/releases" -# Configuration variables. -GIT_EMAIL="iam-cloud@wso2.com" -GIT_USERNAME="wso2-iam-cloud-bot" -UPSTREAM_REPO_URL="https://github.com/wso2/open-mcp-auth-proxy.git" -UPSTREAM_BRANCH="main" - -# Configure git. -git config --global user.email "${GIT_EMAIL}" -git config --global user.name "${GIT_USERNAME}" - # Navigate to the working directory. cd "${WORK_DIR}" -# Set 'origin' to point to the upstream repository. -git remote set-url origin "${UPSTREAM_REPO_URL}" - -# Ensure the latest changes are pulled. -git checkout ${UPSTREAM_BRANCH} -git pull - # Create the release directory. if [ ! -d "$RELEASE_DIRECTORY" ]; then mkdir -p "$RELEASE_DIRECTORY"