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
You can still explore the full capabilities of Content CLI and the list of options for the different commands
79
79
by using the `-h` option in your command.
@@ -159,14 +159,14 @@ npm i -g @celonis/content-cli
159
159
## Contributing
160
160
161
161
We encourage public contributions! Please check
162
-
[CONTRIBUTING.md](https://github.com/celonis/content-cli/blob/master/CONTRIBUTING.md) for details on our
162
+
[CONTRIBUTING.md](https://github.com/celonis/content-cli/blob/main/CONTRIBUTING.md) for details on our
163
163
code of conduct.
164
164
165
-
For details on command development, refer to the [How to Add a Command](https://github.com/celonis/content-cli/blob/master/docs/how-to-add-command.md) guide.
165
+
For details on command development, refer to the [How to Add a Command](https://github.com/celonis/content-cli/blob/main/docs/how-to-add-command.md) guide.
166
166
167
167
## License
168
168
169
169
Copyright (c) 2021 Celonis SE
170
170
171
171
This project is licensed under the MIT License -
172
-
see [LICENSE](https://github.com/celonis/content-cli/blob/master/LICENSE) file for details.
172
+
see [LICENSE](https://github.com/celonis/content-cli/blob/main/LICENSE) file for details.
|`master`| Main development branch; represents the development environment. |
13
+
|`main`| Main development branch; represents the development environment. |
14
14
|`release/*`| Release branches named using CalVer format (e.g., `release/20251009-091337_RC00`). |
15
15
16
16
Publishing happens **only** when a version bump PR is merged.
@@ -19,28 +19,28 @@ Publishing happens **only** when a version bump PR is merged.
19
19
20
20
## Developing a New Feature
21
21
22
-
1. Create a feature branch from `master`.
22
+
1. Create a feature branch from `main`.
23
23
2. Implement and test your feature.
24
-
- Testing should be done locally. Check this guide for [testing your local build of master](https://github.com/celonis/content-cli/blob/master/README.md#building-and-using-the-project-locally).
25
-
3. Open a PR targeting `master`.
26
-
4. After approval, merge your PR into `master`.
27
-
- Merging to `master`**does not** publish anything — it only updates the development state of the CLI.
24
+
- Testing should be done locally. Check this guide for [testing your local build of main](https://github.com/celonis/content-cli/blob/main/README.md#building-and-using-the-project-locally).
25
+
3. Open a PR targeting `main`.
26
+
4. After approval, merge your PR into `main`.
27
+
- Merging to `main`**does not** publish anything — it only updates the development state of the CLI.
28
28
29
29
---
30
30
31
31
## Creating a Release
32
32
33
-
When the `master` branch is stable and ready for deployment, use the **Create Release** workflow.
33
+
When the `main` branch is stable and ready for deployment, use the **Create Release** workflow.
34
34
35
35
### Steps
36
36
37
37
1. Go to **Actions → Create Release → Run workflow**.
38
38
2. Choose the bump type (`patch`, `minor`, or `major`).
39
39
3. The workflow will:
40
-
- Validate that it’s running from `master` or a `release/*` branch.
40
+
- Validate that it’s running from `main` or a `release/*` branch.
41
41
- Create an automation branch (`automation/release-bump-<timestamp>`).
42
42
- Bump the version and push a commit like `[Release] Bump version to x.x.x`.
43
-
- Open a **PR to the same branch** from which it was triggered (to master or release branch).
43
+
- Open a **PR to the same branch** from which it was triggered (to main or release branch).
44
44
45
45
4. When the PR is approved and merged:
46
46
- The **Build / Publish** workflow detects the version bump commit.
@@ -69,7 +69,7 @@ When a bug is discovered in an existing published version:
69
69
70
70
|**Workflow**|**Trigger**|**Purpose**|
71
71
|---------------|-------------|--------------|
72
-
|**Build Pull Request**| On PR to `master`| Builds and tests changes before merging. |
72
+
|**Build Pull Request**| On PR to `main`| Builds and tests changes before merging. |
73
73
|**Create Release**| Manual trigger (`workflow_dispatch`) | Creates a PR with a version bump on the current branch. |
74
-
|**Build / Publish**| On merge to `master` or `release/*`| Detects version bumps → builds, tags, and publishes. |
74
+
|**Build / Publish**| On merge to `main` or `release/*`| Detects version bumps → builds, tags, and publishes. |
0 commit comments