-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: Get release by tags endpoint #12932
Conversation
Get a release based on a tag name (for which a release exists). Based on: https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name
some tests missing just add 2 api calls: (Get Existing Release, Get Not Existing Release) Existing Releases it tests: https://github.com/go-gitea/gitea/blob/master/models/fixtures/release.yml |
Codecov Report
@@ Coverage Diff @@
## master #12932 +/- ##
==========================================
+ Coverage 42.71% 42.84% +0.12%
==========================================
Files 661 662 +1
Lines 72986 73002 +16
==========================================
+ Hits 31177 31277 +100
+ Misses 36760 36656 -104
- Partials 5049 5069 +20
Continue to review full report at Codecov.
|
Co-authored-by: 赵智超 <[email protected]>
Thanks for the pointer, I was looking for the tests. I will add them. |
Co-authored-by: 6543 <[email protected]>
You need to commit result of |
@johanvdw It's feature freeze, so we have to wait for 1.13.0 RC1 to merge this :) |
meh if it's ready - it's ready. I'm happy to merge into 1.13 given it's self-contained. |
Get a release based on a tag name (for which a release exists).
Based on:
https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name
This is a useful feature for deploy scripts.
Note I'm new to gitea and go in general, so please review carefully.