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(ci): align GitHub release titles with tags (#88213)

Manoel Aranda Netoa2f78ff63a1c
diff --git a/.github/workflows/ci-agent-skills.yml b/.github/workflows/ci-agent-skills.yml
index c5dce4f13cd2..01041a2deffb 100644
--- a/.github/workflows/ci-agent-skills.yml
+++ b/.github/workflows/ci-agent-skills.yml
@@ -546,6 +546,7 @@ jobs:
gh release upload agent-skills-latest \
products/posthog_ai/dist/skills.zip --clobber
gh release edit agent-skills-latest \
+ --title "Agent skills (Latest)" \
--notes "Latest build — same as $RELEASE_TAG"
else
gh release create agent-skills-latest \
diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml
index 747ab113c6f1..6d30285619d7 100644
--- a/.github/workflows/desktop-release.yml
+++ b/.github/workflows/desktop-release.yml
@@ -42,7 +42,7 @@ jobs:
echo "Release desktop-v$APP_VERSION already exists — reusing it"
else
gh release create "desktop-v$APP_VERSION" --repo "$GITHUB_REPOSITORY" --draft \
- --title "v$APP_VERSION" --notes "Release v$APP_VERSION (build in progress)"
+ --title "desktop-v$APP_VERSION" --notes "Release v$APP_VERSION (build in progress)"
fi
publish-macos:
@@ -736,7 +736,8 @@ jobs:
CURRENT_TAG="desktop-v$APP_VERSION"
node .github/scripts/desktop/generate-release-notes.mjs "$CURRENT_TAG" > /tmp/release-notes.md
node products/desktop/apps/code/scripts/generate-release-download-tables.mjs /tmp/checksums >> /tmp/release-notes.md
- gh release edit "desktop-v$APP_VERSION" --repo "$GITHUB_REPOSITORY" --draft=false --notes-file /tmp/release-notes.md
+ gh release edit "desktop-v$APP_VERSION" --repo "$GITHUB_REPOSITORY" --draft=false \
+ --title "desktop-v$APP_VERSION" --notes-file /tmp/release-notes.md
- name: Download windows manifest
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index 50db127f868d..934a81e72769 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -701,7 +701,6 @@ jobs:
shell: bash
env:
PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--prerelease' || '' }}"
- ANNOUNCEMENT_TITLE: '${{ fromJson(steps.host.outputs.manifest).announcement_title }}'
ANNOUNCEMENT_BODY: '${{ fromJson(steps.host.outputs.manifest).announcement_github_body }}'
RELEASE_COMMIT: '${{ needs.release.outputs.release-commit }}'
LATEST_RELEASE_TAG: posthog-cli-latest
@@ -714,7 +713,7 @@ jobs:
release_args+=("$PRERELEASE_FLAG")
fi
- gh release create "${{ needs.plan-release.outputs.tag }}" --target "$RELEASE_COMMIT" "${release_args[@]}" --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
+ gh release create "${{ needs.plan-release.outputs.tag }}" --target "$RELEASE_COMMIT" "${release_args[@]}" --title "${{ needs.plan-release.outputs.tag }}" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
if [ -z "$PRERELEASE_FLAG" ]; then
STAGED_RELEASE_TAG="$LATEST_RELEASE_TAG-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"