Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(desktop): rename release label to create desktop release (#77113)

Charles Vienff8906881e30
diff --git a/.github/workflows/desktop-tag.yml b/.github/workflows/desktop-tag.yml
index 3600fcbccc9f..6c639a620243 100644
--- a/.github/workflows/desktop-tag.yml
+++ b/.github/workflows/desktop-tag.yml
@@ -26,7 +26,7 @@ jobs:
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
- contains(github.event.pull_request.labels.*.name, 'Create release'))
+ contains(github.event.pull_request.labels.*.name, 'create desktop release'))
permissions:
contents: write
actions: write
@@ -67,11 +67,11 @@ jobs:
}
LABELER=$(gh api "repos/${REPOSITORY}/issues/${PR_NUMBER}/events" --paginate \
- --jq '.[] | select(.event == "labeled" and (.label.name | ascii_downcase) == "create release") | "\(.id) \(.actor.login)"' \
+ --jq '.[] | select(.event == "labeled" and (.label.name | ascii_downcase) == "create desktop release") | "\(.id) \(.actor.login)"' \
| sort -n | tail -1 | cut -d" " -f2)
if [ -z "$LABELER" ]; then
- skip "Could not determine who added the 'Create release' label."
+ skip "Could not determine who added the 'create desktop release' label."
exit 0
fi
@@ -81,10 +81,10 @@ jobs:
fi
if echo "$MEMBERS" | grep -qixF "$LABELER"; then
- echo "'Create release' was added by ${LABELER}, a member of ${TEAM_SLUG}."
+ echo "'create desktop release' was added by ${LABELER}, a member of ${TEAM_SLUG}."
echo "authorized=true" >> "$GITHUB_OUTPUT"
else
- skip "'Create release' was added by @${LABELER}, who is not on ${TEAM_SLUG}."
+ skip "'create desktop release' was added by @${LABELER}, who is not on ${TEAM_SLUG}."
fi
- name: Check quiet period
diff --git a/products/desktop/apps/code/README.md b/products/desktop/apps/code/README.md
index 9310502e2783..bf74750c9516 100644
--- a/products/desktop/apps/code/README.md
+++ b/products/desktop/apps/code/README.md
@@ -73,7 +73,7 @@ PostHog auto-updates on macOS and Windows. Current builds use `electron-updater`
There are three ways a release can fire:
1. **Scheduled (default)** — automatic at 17:00 and 01:00 UTC.
-2. **Hotfix** — add the `Create release` label to a PR before it merges. On merge, the tag workflow runs immediately and ships whatever is on `main`.
+2. **Hotfix** — add the `create desktop release` label to a PR before it merges. On merge, the tag workflow runs immediately and ships whatever is on `master`.
3. **Manual** — run `Tag PostHog Release` via `workflow_dispatch` from the Actions tab.
Local prep (only needed for one-off manual builds):