Skip to content

Commit 3fc007b

Browse files
authored
Merge pull request #205 from oroce/fix/gitlab-release-creation
fix: gitlab release creation
2 parents d1f0821 + 19da7d1 commit 3fc007b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/conventional-gitlab-releaser/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Please use this [gist](https://gist.github.com/stevemao/280ef22ee861323993a0) to
9292

9393
### Required GitLab CE/EE Edition
9494

95-
Version [9.0](https://about.gitlab.com/2017/03/22/gitlab-9-0-released/#api-v4-ce-ees-eep), or higher, of GitLab CE/EE is required for `conventional-gitlab-releaser`.
95+
Version [11.11](https://about.gitlab.com/releases/2019/05/22/gitlab-11-11-released), or higher, of GitLab CE/EE is required for `conventional-gitlab-releaser`.
9696

9797
Core features used:
9898
* [GitLab release page](http://docs.gitlab.com/ce/workflow/releases.html)

packages/conventional-gitlab-releaser/src/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ function conventionalGitlabReleaser (auth, changelogOpts, context, gitRawCommits
7373
return
7474
}
7575

76-
const url = `projects/${escape(context.owner + `/` + context.repository)}/repository/tags`
76+
const url = `projects/${escape(context.owner + `/` + context.repository)}/releases`
7777
const options = {
7878
endpoint: auth.url,
7979
body: {
8080
tag_name: chunk.keyCommit.version,
8181
ref: chunk.keyCommit.hash,
82-
message: 'Release ' + chunk.keyCommit.version,
83-
release_description: chunk.log
82+
name: chunk.keyCommit.version,
83+
description: chunk.log
8484
}
8585
}
8686
debug(`posting %o to the following URL - ${url}`, options)

0 commit comments

Comments
 (0)