0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 19:12:51 +01:00
gitea/services/release
Giteabot e6395e1e81
Handle invalid target when creating releases using API (#31841) (#32043)
Backport #31841 by @kemzeb

A 500 status code was thrown when passing a non-existent target to the
create release API. This snapshot handles this error and instead throws
a 404 status code.

Discovered while working on #31840.

Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com>
2024-09-17 02:23:40 +00:00
..
release.go Handle invalid target when creating releases using API (#31841) (#32043) 2024-09-17 02:23:40 +00:00
release_test.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
tag.go Allow to sync tags from admin dashboard (#28045) 2024-01-24 03:02:04 +00:00