diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-09-09 03:29:19 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-09-09 03:29:19 +0300 |
commit | effa7d0ea40d9363f3e94d74f772903be9c64780 (patch) | |
tree | a2cd99d4422f646b1c369b8f2918f82f49263175 | |
parent | 85c4291724f713a37a047e9baacb9cd2187d9de2 (diff) | |
parent | 8af2c297b7d4343e42c81c8ded8000e4a3b88c07 (diff) |
Merge branch 'fix/changelog' into 'master'
fix: use conventional commit message to generate changelog
See merge request gitlab-org/gitlab-pages!565
-rwxr-xr-x | .gitlab/scripts/changelog.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab/scripts/changelog.sh b/.gitlab/scripts/changelog.sh index 051f3e2d..290f9aa4 100755 --- a/.gitlab/scripts/changelog.sh +++ b/.gitlab/scripts/changelog.sh @@ -12,9 +12,11 @@ else PROJECT_ID="$PUBLIC_PROJECT_ID" fi +MESSAGE="docs: add changelog for version $VERSION" + function generate_changelog() { curl --header "PRIVATE-TOKEN: $TOKEN" \ - --data "version=$VERSION&branch=$BRANCH" \ + --data "version=$VERSION&branch=$BRANCH&message=$MESSAGE" \ --fail \ --silent \ --show-error \ |