Skip to content

Correct automatic releases flow #7

@Ocramius

Description

@Ocramius

Bug Report

See https://github.com/mezzio/mezzio-valinor/actions/runs/23601475639/job/68732415303

Q A
Version(s) 1.0.x

Summary

Automatic release flow fails

Current behavior

[2026-03-26T15:02:27.142816+00:00] automatic-releases.INFO: CommitReleaseChangelog: no changes to commit. [] []
In invariant_violation.php line 16:
                                                
  [Psl\Exception\InvariantViolationException]   
  Failed to create release through GitHub API;  
  Status code: 404                              
  Message: Not Found                            
                                                
Exception trace:
  at /app/vendor/azjezz/psl/src/Psl/invariant_violation.php:16
 Psl\invariant_violation() at /app/src/Github/Api/V3/CreateReleaseThroughApiCall.php:71
 Laminas\AutomaticReleases\Github\Api\V3\CreateReleaseThroughApiCall->__invoke() at /app/src/Application/Command/ReleaseCommand.php:93
 Laminas\AutomaticReleases\Application\Command\ReleaseCommand->execute() at /app/vendor/symfony/console/Command/Command.php:312
 Symfony\Component\Console\Command\Command->run() at /app/vendor/symfony/console/Application.php:1022
 Symfony\Component\Console\Application->doRunCommand() at /app/vendor/symfony/console/Application.php:314
 Symfony\Component\Console\Application->doRun() at /app/vendor/symfony/console/Application.php:168
 Symfony\Component\Console\Application->run() at /app/bin/console.php:180
 Laminas\AutomaticReleases\WebApplication\{closure}() at /app/bin/console.php:181
laminas:automatic-releases:release

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions