Skip to content

Commit

Permalink
Fix releasing package to PyPI
Browse files Browse the repository at this point in the history
Error:
https://github.com/astronomer/astronomer-cosmos/actions/runs/12374645486/job/34538056884

```
quote> Checking dist/astronomer_cosmos-1.8.0a3-py3-none-any.whl: ERROR    InvalidDistribution: Metadata is missing required fields: Name,
 Version.
 Make sure the distribution includes the files where those fields are
 specified, and is using a supported Metadata-Version: 1.0, 1.1, 1.2,
 2.0, 2.1, 2.2, 2.3.
```

The fixed fixed when tested in:
#1395

https://github.com/astronomer/astronomer-cosmos/actions/runs/12374833970
  • Loading branch information
tatiana committed Dec 17, 2024
1 parent 0000f80 commit 178f4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
path: dist

- name: Push build artifacts to PyPi
uses: pypa/gh-action-pypi-publish@v1.10.3
uses: pypa/gh-action-pypi-publish@v1.12.3
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 178f4fb

Please sign in to comment.