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.

fix(hogli): keep uv's dist/.gitignore out of the release (#89392)

Raúl Negrón-Otero75a0b63b84a3
diff --git a/.github/workflows/publish-hogli.yml b/.github/workflows/publish-hogli.yml
index ba8803fb1fc6..11e9079aabfc 100644
--- a/.github/workflows/publish-hogli.yml
+++ b/.github/workflows/publish-hogli.yml
@@ -63,7 +63,7 @@ jobs:
run: uv build tools/hogli --out-dir dist
- name: Validate metadata
- run: uvx twine check dist/*
+ run: uvx twine check dist/*.whl dist/*.tar.gz
- name: Smoke-test built wheel
shell: bash
@@ -78,14 +78,18 @@ jobs:
- name: Generate build provenance attestation
uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0
with:
- subject-path: 'dist/*'
+ subject-path: |
+ dist/*.whl
+ dist/*.tar.gz
- name: Publish to PyPI
- run: uv publish dist/*
+ run: uv publish dist/*.whl dist/*.tar.gz
- name: Create GitHub Release
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
with:
- files: dist/*
+ files: |
+ dist/*.whl
+ dist/*.tar.gz
body_path: /tmp/hogli-release-notes.md
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') }}