mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-11 11:42:15 +02:00
docs: improve gitlab projectid readme
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
parent
92a4afb169
commit
afc7d85688
@ -327,7 +327,6 @@ func (c *gitlabClient) Upload(
|
||||
}
|
||||
|
||||
gitlabBaseURL := ctx.Config.GitLabURLs.Download
|
||||
// projectFile.URL from upload: /uploads/<hash>/filename.txt
|
||||
linkURL := gitlabBaseURL + "/" + projectDetails.PathWithNamespace + projectFile.URL
|
||||
name := artifact.Name
|
||||
filename := "/" + name
|
||||
|
@ -13,10 +13,10 @@ Let's see what can be customized in the `release` section for GitHub:
|
||||
release:
|
||||
# Repo in which the release will be created.
|
||||
# Default is extracted from the origin remote URL or empty if its private hosted.
|
||||
# Note: it can only be one: either github, gitlab or gitea
|
||||
# You can use Gitlab's internal project id by setting it directly or using an environment variable
|
||||
# owner: ""
|
||||
# name: "{{.Env.CI_PROJECT_ID}}"
|
||||
# Valid options are either github, gitlab or gitea
|
||||
#
|
||||
# You can also use Gitlab's internal project id by setting it in the name
|
||||
# field and leaving the owner field empty.
|
||||
github:
|
||||
owner: user
|
||||
name: repo
|
||||
|
Loading…
x
Reference in New Issue
Block a user