mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-19 01:24:32 +01:00
github: don't return releases on wrong branch
if a branch is specified, but a release cannot be found on that branch, return an error instead of simply the latest release Signed-off-by: unilock <unilock@fennet.rentals>
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"github.com/packwiz/packwiz/core"
|
||||
)
|
||||
|
||||
// TODO: allow setting github api key via env variable
|
||||
const ghApiServer = "api.github.com"
|
||||
|
||||
type ghApiClient struct {
|
||||
|
||||
Reference in New Issue
Block a user