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: README.md
+19-22Lines changed: 19 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,14 @@ This action will automatically detect the version file and bump the version acco
14
14
15
15
The action will first try to detect the platform of the project by looking for common version files in the root directory. The following files are supported:
16
16
17
-
| Platform | Version File |
18
-
| --- | --- |
19
-
| Docker |`Dockerfile`|
20
-
| Go |`go.mod`|
21
-
| Node |`package.json`|
22
-
| PHP |`composer.json`|
23
-
| Python |`pyproject.toml`, `setup.py`|
24
-
| Rust |`Cargo.toml`|
17
+
| Platform | Version File |
18
+
| --------|---------------------------- |
19
+
| Docker |`Dockerfile`|
20
+
| Go |`go.mod`|
21
+
| Node |`package.json`|
22
+
| PHP |`composer.json`|
23
+
| Python |`pyproject.toml`, `setup.py`|
24
+
| Rust |`Cargo.toml`|
25
25
26
26
If a version file is found, the action will bump the version in that file. If no version file is found, the action will fail.
27
27
@@ -64,19 +64,19 @@ To explicitly target a platform, use the `target_platform` input:
64
64
65
65
## Inputs
66
66
67
-
| Name | Description | Default |
68
-
| --- | --- | --- |
69
-
| `release_type` | Select the version bump type (patch, minor, major) | `patch` |
70
-
| `git_tag` | Whether to create a Git tag after bump | `true` |
71
-
| `target_platform` | Explicitly specify the platform to update (e.g., `node`, `python`). If not provided, the platform will be detected automatically. | `''` |
72
-
| `target_path` | The target path where the version bump should be applied. If not provided, the action will run in the root directory. | `.` |
| `release_type` | Select the version bump type (patch, minor, major) | `patch` |
70
+
| `git_tag` | Whether to create a Git tag after bump | `true` |
71
+
| `target_platform` | Explicitly specify the platform to update (e.g., `node`, `python`). If not provided, the platform will be detected automatically. | `''` |
72
+
| `target_path` | The target path where the version bump should be applied. If not provided, the action will run in the root directory. | `.` |
0 commit comments