ci: add automatic changelog generation
This commit is contained in:
parent
586d12a1ae
commit
46a031e61a
6 changed files with 1093 additions and 20 deletions
|
@ -74,6 +74,20 @@ publish-artifacts:
|
|||
rules:
|
||||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
||||
|
||||
changelog:
|
||||
stage: publish
|
||||
before_script:
|
||||
- yarn install --immutable
|
||||
script:
|
||||
- yarn changelog
|
||||
cache:
|
||||
<<: *global_cache
|
||||
artifacts:
|
||||
paths:
|
||||
- CHANGELOG.md
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
||||
|
||||
.release-template: &release-template
|
||||
stage: release
|
||||
before_script:
|
||||
|
@ -125,7 +139,7 @@ release:
|
|||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
||||
release:
|
||||
tag_name: $CI_COMMIT_TAG
|
||||
description: "# Changelog"
|
||||
description: "./CHANGELOG.md"
|
||||
assets:
|
||||
links:
|
||||
- name: "ds4.zip"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue