Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(github-actions): enable automatic PyPi release on publish
This commit enables automatic PyPi release for the 'pyvespa' library when a new release is published on GitHub. Previously, the release workflow was disabled, but this change now triggers the release process when a new release is published. The key changes are: - Modify the release trigger to listen for 'published' events instead of 'workflow_dispatch' - Add an environment variable 'RELEASE_REF' to ensure the version is available, even if the 'GITHUB_REF' variable is not set correctly - Update the version extraction logic to use the 'RELEASE_REF' variable instead of 'GITHUB_REF'
- Loading branch information