@ludeo/cli 1.1.6 → 1.2.0

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/README.md CHANGED
@@ -22,25 +22,73 @@ ludeo auth login --access-token YOUR_ACCESS_TOKEN
22
22
  ```
23
23
 
24
24
  ### 2. Upload Your Build
25
- Upload your game build with a simple command:
25
+ Upload your game build with a simple command. The CLI supports three build creation types:
26
+
27
+ #### New Build (Complete build from scratch) - DEFAULT
28
+ ```bash
29
+ # With explicit build-creation-type
30
+ ludeo builds upload \
31
+ --game-id YOUR_GAME_ID \
32
+ --exec-path ./builds/game.exe \
33
+ --local-directory ./builds \
34
+ --build-creation-type new \
35
+ --build-type major \
36
+ --game-version "1.2.3" \
37
+ --sdk-version "2.0.0" \
38
+ --changes-description "Bug fixes and performance improvements"
39
+
40
+ # Or simply omit --build-creation-type (defaults to "new")
41
+ ludeo builds upload \
42
+ --game-id YOUR_GAME_ID \
43
+ --exec-path ./builds/game.exe \
44
+ --local-directory ./builds \
45
+ --build-type major \
46
+ --game-version "1.2.3" \
47
+ --sdk-version "2.0.0"
48
+ ```
49
+
50
+ #### Modification Build (Based on an existing build)
26
51
  ```bash
27
52
  ludeo builds upload \
28
53
  --game-id YOUR_GAME_ID \
29
54
  --exec-path ./builds/game.exe \
30
- --local-directory ./builds
55
+ --local-directory ./builds \
56
+ --build-creation-type modification \
57
+ --build-type minor \
58
+ --game-version "1.2.4" \
59
+ --sdk-version "2.0.0" \
60
+ --base-build-id EXISTING_BUILD_ID \
61
+ --major-build-id MAJOR_BUILD_ID \
62
+ --changes-description "Minor bug fixes"
31
63
  ```
32
64
 
33
- ### 3. Optional Parameters
34
- Add version information and descriptions:
65
+ #### SDK Free Build (Performance testing without Ludeo SDK)
35
66
  ```bash
36
67
  ludeo builds upload \
37
68
  --game-id YOUR_GAME_ID \
38
69
  --exec-path ./builds/game.exe \
39
70
  --local-directory ./builds \
71
+ --build-creation-type sdkFree \
72
+ --build-type major \
40
73
  --game-version "1.2.3" \
41
- --changes-description "Bug fixes and performance improvements"
74
+ --changes-description "Performance testing build"
42
75
  ```
43
76
 
77
+ ### 3. Build Types and Requirements
78
+
79
+ **Build Creation Types:**
80
+ - `new`: Complete build from scratch (requires game-version, sdk-version, build-type) **[DEFAULT]**
81
+ - `modification`: Based on an existing build (requires base-build-id, game-version, sdk-version, build-type)
82
+ - `sdkFree`: Performance testing without Ludeo SDK (requires game-version, build-type; sdk-version not required)
83
+
84
+ **Build Types:**
85
+ - `major`: Major version build
86
+ - `minor`: Minor version build (requires major-build-id)
87
+
88
+ **Additional Flags:**
89
+ - `--runtime-environment`: Runtime environment (windows/proton) - only available for Ludeo admins
90
+ - `--request-id`: Optional request ID for tracking
91
+
44
92
  ### 4. Manage Builds
45
93
  ```bash
46
94
  # List your builds
@@ -77,7 +125,11 @@ npm update -g @ludeo/cli
77
125
  ludeo builds upload \
78
126
  --game-id ${{ env.GAME_ID }} \
79
127
  --exec-path ./builds/game.exe \
80
- --local-directory ./builds
128
+ --local-directory ./builds \
129
+ --build-creation-type new \
130
+ --build-type major \
131
+ --game-version ${{ env.GAME_VERSION }} \
132
+ --sdk-version ${{ env.SDK_VERSION }}
81
133
  ```
82
134
 
83
135
  ## Troubleshooting
package/dist/ludeo CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cli",
3
- "version": "1.1.6",
3
+ "version": "1.2.0",
4
4
  "description": "Ludeo CLI - Upload game builds and manage content on the Ludeo platform",
5
5
  "main": "index.js",
6
6
  "bin": {