com.elestrago.unity.package-tools 2.0.9 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CAHNGELOG.md CHANGED
@@ -2,7 +2,23 @@
2
2
 
3
3
  ---
4
4
 
5
- ## [2.0.9](https://gitlab.com/elestrago-pkg/package-tool/-/tags/2.0.8)
5
+ ## [2.0.11](https://gitlab.com/elestrago-pkg/package-tool/-/tags/2.0.11)
6
+
7
+ ### Fixed
8
+
9
+ - Test publish package using NPM trusted publisher
10
+
11
+ ---
12
+
13
+ ## [2.0.10](https://gitlab.com/elestrago-pkg/package-tool/-/tags/2.0.10)
14
+
15
+ ### Fixed
16
+
17
+ - Create destination directory when copy files
18
+
19
+ ---
20
+
21
+ ## [2.0.9](https://gitlab.com/elestrago-pkg/package-tool/-/tags/2.0.9)
6
22
 
7
23
  ### Removed
8
24
 
@@ -248,6 +248,9 @@ namespace PackageTool.Tools
248
248
  {
249
249
  var normalizedSourcePath = Path.GetFullPath(sourcePath);
250
250
  var normalizedDestinationPath = Path.GetFullPath(destinationPath);
251
+ if (!Directory.Exists(normalizedDestinationPath))
252
+ Directory.CreateDirectory(normalizedDestinationPath);
253
+
251
254
  var directoryInfo = new DirectoryInfo(sourcePath);
252
255
  var subDirectoryInfo =
253
256
  directoryInfo.GetDirectories(EditorConstants.WILDCARD_FILTER, SearchOption.AllDirectories);
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "com.elestrago.unity.package-tools",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "displayName": "Package Tool",
5
5
  "description": "Tool for create unity packages",
6
6
  "category": "unity",
7
7
  "unity": "2021.3",
8
8
  "homepage": "https://gitlab.com/elestrago-pkg/package-tool",
9
- "documentationUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.9/README.md",
10
- "changelogUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.9/CHANGELOG.md",
11
- "licensesUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.9/LICENSE",
9
+ "documentationUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.11/README.md",
10
+ "changelogUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.11/CHANGELOG.md",
11
+ "licensesUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.11/LICENSE",
12
12
  "license": "MIT",
13
13
  "keywords": [
14
14
  "unity",