feat(release): add GetLatestRelease
method #631
No reviewers
Labels
No Label
has/backport
has/pull
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/go-sdk#631
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ankit/go-sdk:feat/latest-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds the
GetLatestRelease
method to support the/repos/{owner}/{repo}/releases/latest
endpoint.ref: https://docs.gitea.com/api/1.20/#tag/repository/operation/repoGetLatestRelease
Resolves gitea/go-sdk#630
Signed-off-by: Ankit R Gadiya git@argp.in
GetLatestRelease
methode48efcf651
to5a16f7fa92
I fixed the
GetLatestRelease
unit test, but the endpoint is not available in the version used for Testing. I'm working on a separate Pull Request to bump the version and fix broken tests.gitea/go-sdk#634
Checkout
From your project repository, check out a new branch and test the changes.