Skip to content

Issue with token and duplicate publishing #1267

Closed as not planned
Closed as not planned
@dornech

Description

@dornech

Bug Report

Description

I try to automate publishing with PSR. I started with 9.x and it worked.

Expected behavior

no error :-)

Actual behavior

Updating to 10.0.2 without changed config throws an error:

ERROR 404 Client Error: Not Found for url: https://api.github.com/repos/dornech/pytestdornech/releases version.py:777
NoneType: None
404 Client Error: Not Found for url: https://api.github.com/repos/dornech/pytestdornech/releases
Failed to create release on Github!

However, release is generated. I am using an enhanced hatchlor packagae template which includes some GitHub actions. Does this intervene somehow with changed PSR behaviour ?
https://github.com/dornech/pytestdornech
https://github.com/dornech/the-hatchlor-enhanced

Environment

  • **Operating System (w/ version): Windows 10
  • **Python version: 3.11.4
  • **Pip version: 23.1.2
  • **Semantic-release version: 10.0.2
  • **Build tool (w/ version):hatch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions