We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fd8fc9 commit 380d028Copy full SHA for 380d028
1 file changed
monorepo-migration/migrate.sh
@@ -565,9 +565,10 @@ if [[ "${SKIP_TESTS:-false}" != "true" ]]; then
565
fi
566
567
# 7.12 Apply manual changes
568
-if [[ -f "~/${SOURCE_REPO_NAME}.diff" ]]; then
569
- echo "Applying diff from ${SOURCE_REPO_NAME}.diff..."
570
- git apply "~/${SOURCE_REPO_NAME}.diff"
+MANUAL_CHANGES_DIFF=$(realpath "~/${SOURCE_REPO_NAME}.diff")
+if [[ -f "${MANUAL_CHANGES_DIFF}" ]]; then
+ echo "Applying diff from ${MANUAL_CHANGES_DIFF}..."
571
+ git apply "${MANUAL_CHANGES_DIFF}"
572
echo "Committing diff..."
573
git add .
574
git commit -am "manual changes"
0 commit comments