From 6e60860a7c83875af8eb023efaf4d5f4121af177 Mon Sep 17 00:00:00 2001 From: Ivan Murzak Date: Fri, 24 Jul 2020 11:02:53 +0300 Subject: [PATCH] Update --- Assets/_PackageRoot/package.json | 7 +++++++ gitSubTreePushToUPM.bat | 2 ++ gitSubTreePushToUPM.makefile | 2 ++ 3 files changed, 11 insertions(+) create mode 100644 Assets/_PackageRoot/package.json create mode 100644 gitSubTreePushToUPM.bat create mode 100644 gitSubTreePushToUPM.makefile diff --git a/Assets/_PackageRoot/package.json b/Assets/_PackageRoot/package.json new file mode 100644 index 0000000..0e5f076 --- /dev/null +++ b/Assets/_PackageRoot/package.json @@ -0,0 +1,7 @@ +{ + "name": "your.own.package", + "displayName": "Your own package", + "version": "1.0.0", + "unity": "2019.2", + "description": "Some description" +} \ No newline at end of file diff --git a/gitSubTreePushToUPM.bat b/gitSubTreePushToUPM.bat new file mode 100644 index 0000000..88f71de --- /dev/null +++ b/gitSubTreePushToUPM.bat @@ -0,0 +1,2 @@ +git subtree push --prefix Assets/_PackageRoot origin upm +pause \ No newline at end of file diff --git a/gitSubTreePushToUPM.makefile b/gitSubTreePushToUPM.makefile new file mode 100644 index 0000000..0e47704 --- /dev/null +++ b/gitSubTreePushToUPM.makefile @@ -0,0 +1,2 @@ +deploy: + git subtree push --prefix Assets/_PackageRoot origin upm \ No newline at end of file