You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add ApiURI for gitlab provider
it can let us using private server
* Increase code coverage for provider_gitlab.go
---------
Co-authored-by: Julien NOBLET <[email protected]>
Copy file name to clipboardExpand all lines: pkg/provider/provider_gitlab.go
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ import (
17
17
typeGitlabstruct {
18
18
ProjectIDint
19
19
ArchiveNamestring// ArchiveName (the archive you upload for a release on gitlab), example: binaries.zip
20
+
ApiURIstring// ApiURI (in case you're using a private gitlab server), example: gitlab.mydomain.tld/api/v4/projects/%d/releases to use gitlab.com let it blank
20
21
21
22
tmpDirstring// temporary directory this is used internally
22
23
decompressProviderProvider// provider used to decompress the downloaded archive
@@ -41,6 +42,12 @@ type gitlabReleaseLink struct {
41
42
42
43
// getReleasesURL get the releases URL for the gitlab repository
0 commit comments