Skip to content

Releases: pypa/gh-action-pypi-publish

v1.7.1

Choose a tag to compare

@webknjaz webknjaz released this 11 Mar 02:17
v1.7.1
22b4d1f

Regression?

There was a small setback with v1.7.0 — the snake_case fallbacks didn't work because the check for the kebab-case env vars with default values set was always truthy. This bugfix release promptly fixes that.

Full Diff: v1.7.0...v1.7.1

v1.7.0

Choose a tag to compare

@webknjaz webknjaz released this 11 Mar 01:27
v1.7.0
7104b6e

What should I care about?

TL;DR The action input names have been converted to use kebab-case and marked deprecated. But the old names still work.

This is made to align the public API with the de-facto conventions in the ecosystem. We've used snake_case names, which the maintainer considers a historical mistake. New kebab-case inputs will make the end-users' workflows look more consistent and and visually distinguishable from other identifiers one may encounter in YAML.

There is no timeline for removing the old names, but it will happen in v3 or later versions of the action. If the maintainer doesn't forget to do this, that is.

The patch is here: #125.

Full Diff: v1.6.5...v1.7.0

v1.6.5

Choose a tag to compare

@webknjaz webknjaz released this 10 Mar 23:03
v1.6.5
32b5e93

What's Changed

  • Added an explicit warning when the password passed into the action is empty — thanks @colindean

New Contributors

Full Diff: v1.6.4...v1.6.5

v1.6.4

Choose a tag to compare

@webknjaz webknjaz released this 07 Dec 01:56
v1.6.4
c7f29f7

oh, boi! again?

This is the last one tonight, promise! It fixes this embarrassing bug that was actually caught by the CI but got overlooked due to the lack of sleep.
TL;DR GH passed $HOME from the external env into the container and that tricked the Python's site module to think that the home directory is elsewhere, adding non-existent paths to the env vars. See #115.

Full Diff: v1.6.3...v1.6.4

v1.6.3

Choose a tag to compare

@webknjaz webknjaz released this 06 Dec 23:26
v1.6.3
e71a4a4

Another Release!? Why?

In #112 (comment), it was discovered that passing a $PATH variable even breaks the shebang. So this version adds more safeguards to make sure it keeps working with a fully broken $PATH.

Full Diff: v1.6.2...v1.6.3

v1.6.2

Choose a tag to compare

@webknjaz webknjaz released this 06 Dec 22:43
v1.6.2
ce291dc

What's Fixed

  • Made the $PATH and $PYTHONPATH environment variables resilient to broken values passed from the host runner environment, which previously allowed the users to accidentally break the container's internal runtime as reported in #112

Internal Maintenance Improvements

New Contributors

Full Diff: v1.6.1...v1.6.2

v1.6.1

Choose a tag to compare

@webknjaz webknjaz released this 03 Dec 03:22
v1.6.1
5d1679f

What's happened?!

There was a sneaky bug in v1.6.0 which caused Twine to be outside the import path in the Python runtime. It is fixed in v1.6.1 by updating $PYTHONPATH to point to a correct location of the user-global site-packages/ directory.

Full Diff: v1.6.0...v1.6.1

v1.6.0

Choose a tag to compare

@webknjaz webknjaz released this 03 Dec 01:52
v1.6.0
d2a2496

Anything's changed?

The only update is that the Python runtime has been upgraded from 3.9 to 3.11. There are no functional changes in this release.

Full Changelog: v1.5.2...v1.6.0

v1.5.2

Choose a tag to compare

@webknjaz webknjaz released this 30 Nov 11:04
v1.5.2
d7edd4c

What's Improved

  • Implemented the Twine transitive dependency tree pinning using pip-tools-generated constraint files. See #107 and #101 for details.

Full Diff: v1.5.1...v1.5.2

v1.5.1

Choose a tag to compare

@webknjaz webknjaz released this 25 Jul 15:14
v1.5.1
37f50c2

What's Changed

  • Fixed printing out the dist hashes when packages_dir is a wildcard value. — by @dukecat0 in #91

Full Diff: v1.5.0...v1.5.1