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: RELEASING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Releasing
2
2
3
-
Releases are semi-automated via GitHub Actions. When a PR with the `release` and a version bump label is merged to `master`, the release workflow is triggered.
3
+
Releases are semi-automated via GitHub Actions. When a PR with the `release` and a version bump label is merged to `main`, the release workflow is triggered.
4
4
5
5
You'll need an approval from a PostHog engineer. If you're an employee, you can see the request in the [#approvals-client-libraries](https://app.slack.com/client/TSS5W8YQZ/C0A3UEVDDNF) channel.
6
6
@@ -9,15 +9,15 @@ You'll need an approval from a PostHog engineer. If you're an employee, you can
9
9
1.**Create your PR** with the changes you want to release
10
10
2.**Add the `release` label** to the PR
11
11
3.**Add a version bump label** that should be either `bump-patch`, `bump-minor` or `bump-major`
12
-
4.**Merge the PR** to `master`
12
+
4.**Merge the PR** to `main`
13
13
14
14
Once merged, the following happens automatically:
15
15
16
16
1. A Slack notification is sent to the client libraries channel requesting approval
17
17
2. A maintainer approves the release in the GitHub `Release` environment
18
18
3. The version is bumped in `lib/PostHog.php` and `composer.json` based on the version label (`patch`, `minor`, or `major`, extracted from the label)
19
19
4. The `CHANGELOG.md` is updated with a link to the full changelog
20
-
5. Changes are committed and pushed to `master`
20
+
5. Changes are committed and pushed to `main`
21
21
6. A git tag is created (e.g., `v1.8.0`)
22
22
7. A GitHub release is created with the changelog content
0 commit comments