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.

ci: add names to cargo-dist release steps for readability (#76179)

Kyungmin Kim44dd7322eba9
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c95b9a5b0997..b73a1af4a196 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -71,7 +71,8 @@ jobs:
# functionality based on whether this is a pull_request, and whether it's from a fork.
# (PRs run on the *source* but secrets are usually on the *target* -- that's *good*
# but also really annoying to build CI around when it needs secrets to work right.)
- - id: plan
+ - name: Plan release with cargo-dist
+ id: plan
env:
DIST_COMMAND: plan
run: |
@@ -260,7 +261,8 @@ jobs:
- name: Verify API CLI release bundle
run: |
node -e "const { existsSync, statSync } = require('node:fs'); const path = 'cli/lib/posthog-api-cli.mjs'; if (!existsSync(path) || statSync(path).size <= 0) { console.error('::error::API CLI bundle is missing or empty: ' + path); process.exit(1); }"
- - id: cargo-dist
+ - name: Build global cargo-dist artifacts
+ id: cargo-dist
shell: bash
run: |
dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json