This commit is contained in:
병준 박 2025-04-26 00:28:13 +00:00
parent f2e1ed539a
commit 912f50f4fb

View File

@ -86,15 +86,16 @@ spec:
fi
cd -
# destination(monorepo) 변경사항 커밋 또는 리셋
git add .
git commit -m "auto-commit before nx import" || git reset --hard HEAD
echo "Importing: $SRC → $TARGET"
npx nx import "$SRC" "$TARGET"
echo "Updating version to $(params.version)"
sed -i.bak "s/^version = .*/version = \"$(params.version)\"/" "$TARGET/Cargo.toml"
rm -f "$TARGET/Cargo.toml.bak"
# destination(monorepo) 변경사항 커밋 또는 리셋
git add .
git commit -m "auto-commit before nx import" || git reset --hard HEAD
done
- name: git-commit