Skip to content

Git artifact name update#264

Merged
david-rfai merged 3 commits into
mainfrom
GitArtifactNameUpdate
May 29, 2026
Merged

Git artifact name update#264
david-rfai merged 3 commits into
mainfrom
GitArtifactNameUpdate

Conversation

@david-rfai

@david-rfai david-rfai commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Changes

  • Update GH workflow for both manual and automated actions, to show artifact name with version.
  • Update GH workflow for automated action to use pypa/gh-action-pypi-publish

Note

Medium Risk
Changes how production packages reach PyPI (trusted publishing vs API token) and artifact naming; misconfiguration could block releases or publish the wrong build.

Overview
Release and manual PyPI workflows now use versioned wheel artifact names (rapidfireai-<version>-wheel-<ref>) and upload dist/* with stricter if-no-files-found handling; the manual workflow renames the upload step to match.

The release-on-publish workflow (deploy-pypi.yml) is refactored to match manual deploy: build job outputs version from pyproject.toml, runs twine check, uploads artifacts (90-day retention), then a separate publish-to-pypi job downloads the same artifact name and publishes via pypa/gh-action-pypi-publish with the pypi environment and OIDC (id-token: write) instead of inline twine upload and PYPI_API_TOKEN_SUPPORT_DEV.

Reviewed by Cursor Bugbot for commit 50bf48c. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b4f5bac. Configure here.

Comment thread .github/workflows/deploy-pypi.yml
@david-rfai david-rfai merged commit 86393f6 into main May 29, 2026
3 checks passed
@david-rfai david-rfai deleted the GitArtifactNameUpdate branch May 29, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants