NAME
WWW::Gitea::Release - Gitea release entity
VERSION
version 0.001
SYNOPSIS
my $rel = $gitea->releases->get('getty', 'p5-www-gitea', 5);
print $rel->tag_name, " ", $rel->name, "\n";
print $rel->html_url, "\n";
DESCRIPTION
Lightweight wrapper around the JSON returned for a Gitea release. Lifecycle methods delegate back to the client's WWW::Gitea::API::Releases controller and need the owning "owner"/"repo" (set automatically when the release comes from a repository-scoped call). The raw decoded data is always available via "data".
data
Raw decoded JSON for the release.
owner
Owner of the repository this release belongs to.
repo
Name of the repository this release belongs to.
id
Numeric release ID.
tag_name
The git tag the release points at.
name
Release title.
body
Release notes (Markdown).
draft
True if the release is a draft.
prerelease
True if the release is a pre-release.
html_url
Web URL of the release.
tarball_url
URL of the source tarball.
zipball_url
URL of the source zip archive.
created_at
ISO-8601 creation timestamp.
published_at
ISO-8601 publish timestamp.
author_login
Login name of the release author.
refresh
$rel->refresh;
Re-fetches the release and updates "data" in place.
edit
$rel->edit(draft => \0);
Edits the release and updates "data" in place.
delete
$rel->delete;
Deletes the release.
SEE ALSO
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://codeberg.org/getty/p5-www-gitea/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.