You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPER.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,13 +50,13 @@ It's recommended to run `pnpm run prepare` before committing, which will lint, f
50
50
51
51
## Project Structure
52
52
53
-
-`src/`: Contains the main source code for the action.
54
-
-`updaters/`: Contains logic for bumping versions for different platforms (e.g., `nodeUpdater.ts`, `pythonUpdater.ts`).
55
-
-`services/`: Contains core services like Git operations and the main updater logic.
56
-
-`utils/`: Utility functions.
57
-
-`tests/`: Contains unit tests for the source code.
58
-
-`dist/`: Compiled JavaScript output.
59
-
-`scripts/`: Build scripts.
53
+
-`src/`: Contains the main source code for the action.
54
+
-`updaters/`: Contains logic for bumping versions for different platforms (e.g., `nodeUpdater.ts`, `pythonUpdater.ts`).
55
+
-`services/`: Contains core services like Git operations and the main updater logic.
56
+
-`utils/`: Utility functions.
57
+
-`tests/`: Contains unit tests for the source code.
58
+
-`dist/`: Compiled JavaScript output.
59
+
-`scripts/`: Build scripts.
60
60
61
61
## GitHub Action Inputs
62
62
@@ -67,7 +67,7 @@ This action accepts the following inputs:
67
67
|`release_type`| Select the version bump type (patch, minor, major) |`true`|`patch`|
68
68
|`git_tag`| Whether to create a Git tag after bump |`false`|`true`|
69
69
|`target_platform`| Explicitly specify the platform to update (e.g., `node`, `python`). If not provided, the platform will be detected automatically. |`false`|`''`|
70
-
|`target_path`| The target path where the version bump should be applied. If not provided, the action will run in the root directory. |`false`|`.`|
70
+
|`target_path`| The target path where the version bump should be applied. If not provided, the action will run in the root directory. |`false`|`.`|
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ To use this action in your workflow, add the following step:
27
27
| `release_type` | Select the version bump type (patch, minor, major) | `patch` |
28
28
| `git_tag` | Whether to create a Git tag after bump | `true` |
29
29
| `target_platform` | Explicitly specify the platform to update (e.g., `node`, `python`). If not provided, the platform will be detected automatically. | `''` |
30
-
| `target_path` | The target path where the version bump should be applied. If not provided, the action will run in the root directory. | `.` |
30
+
| `target_path` | The target path where the version bump should be applied. If not provided, the action will run in the root directory. | `.` |
@@ -36,6 +36,7 @@ By default, the action automatically detects the project's platform based on com
36
36
The `target_platform` input allows you to specify the exact platform you intend to update. When this input is provided, the action will bypass its automatic detection and directly attempt to update the version for the specified platform.
37
37
38
38
Supported platforms include:
39
+
39
40
- `node`(for Node.js projects using `package.json`)
40
41
- `python`(for Python projects using `pyproject.toml` or `setup.py`)
41
42
- `docker`(for Docker projects using `Dockerfile`)
0 commit comments