feat(release): add GetLatestRelease method #631

Open
ankit wants to merge 1 commits from ankit/go-sdk:feat/latest-release into main
First-time contributor

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

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>
ankit added 1 commit 2023-09-19 18:29:34 +00:00
feat(release): add GetLatestRelease method
Resolves gitea/go-sdk#630

Signed-off-by: Ankit R Gadiya <git@argp.in>
Some checks failed
testing / testing (pull_request) Failing after 2m48s
e48efcf651
ankit requested review from lunny 2023-09-19 18:37:02 +00:00
ankit requested review from techknowlogick 2023-09-19 18:37:04 +00:00
lunny approved these changes 2023-09-20 02:07:28 +00:00
ankit requested review from delvh 2023-09-25 15:40:37 +00:00
ankit force-pushed feat/latest-release from e48efcf651 to 5a16f7fa92 2023-09-25 21:30:26 +00:00 Compare
Author
First-time contributor

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

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
Some checks failed
testing / testing (pull_request) Failing after 38s
Required
Details
This pull request is blocked because it's outdated.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u feat/latest-release:ankit-feat/latest-release
git checkout ankit-feat/latest-release
Sign in to join this conversation.
No description provided.