brightway-lca / cookiecutter-brightwaylib

A cookiecutter based project template for brightway libraries.
MIT License
1 stars 3 forks source link

Publishing to pypi doesn't work because of missing tags #30

Closed cmutel closed 1 month ago

cmutel commented 11 months ago

The official documentation recommends using startsWith(github.ref, 'refs/tags/') to see if there is a release, and we follow this practice. However, it no longer works, or at least not consistently.

Running echo ${{ github.ref }} on a tagged release now gives refs/heads/main, at least in my testing.

Alternatives to this practice:

Workaround for now is to push to pypi manually. The testpypi action runs fine.

tngTUDOR commented 1 month ago

fixed as of 9ee47efb8072303cf6476d873f392c7753d98082