Skip to content

Commit 1e205f5

Browse files
Copilotbrunoborges
andcommitted
Fix ROOT_DIR path in upstream sync scripts
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
1 parent d5d925b commit 1e205f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/scripts/upstream-sync/merge-upstream-diff.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# ──────────────────────────────────────────────────────────────
1818
set -euo pipefail
1919

20-
ROOT_DIR="$(cd "$(dirname "$0")/../.." && pwd)"
20+
ROOT_DIR="$(cd "$(dirname "$0")/../../.." && pwd)"
2121
ENV_FILE="$ROOT_DIR/.merge-env"
2222

2323
if [[ ! -f "$ENV_FILE" ]]; then

.github/scripts/upstream-sync/merge-upstream-finish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# ──────────────────────────────────────────────────────────────
1616
set -euo pipefail
1717

18-
ROOT_DIR="$(cd "$(dirname "$0")/../.." && pwd)"
18+
ROOT_DIR="$(cd "$(dirname "$0")/../../.." && pwd)"
1919
ENV_FILE="$ROOT_DIR/.merge-env"
2020

2121
if [[ ! -f "$ENV_FILE" ]]; then

.github/scripts/upstream-sync/merge-upstream-start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# ──────────────────────────────────────────────────────────────
1515
set -euo pipefail
1616

17-
ROOT_DIR="$(cd "$(dirname "$0")/../.." && pwd)"
17+
ROOT_DIR="$(cd "$(dirname "$0")/../../.." && pwd)"
1818
cd "$ROOT_DIR"
1919

2020
UPSTREAM_REPO="https://github.com/github/copilot-sdk.git"

0 commit comments

Comments
 (0)