From cd9f8c364167e16eb59e9c391c3db1a45fa73dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com> Date: Mon, 13 Sep 2021 11:02:24 +0200 Subject: [PATCH] docs: add changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cédric OLIVIER <cedric3.olivier@orange.com> --- .gitlab-ci.yml | 22 +++++++++------------- .releaserc.yml | 1 + CHANGELOG.md | 29 +++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 13 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54471c6..cf7b980 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,8 +6,11 @@ include: ref: 'master' file: '/templates/validation.yml' - project: 'to-be-continuous/bash' - ref: '1.0.0' + ref: '2.0.0' file: 'templates/gitlab-ci-bash.yml' + - project: 'to-be-continuous/semantic-release' + ref: '2.0.2' + file: '/templates/gitlab-ci-semrel.yml' stages: - build @@ -31,15 +34,8 @@ extract-script: paths: - script.sh -release: - image: node:12 - stage: publish - before_script: - - npm install -g semantic-release @semantic-release/gitlab @semantic-release/exec @semantic-release/git - script: - - semantic-release - only: - refs: - - master - variables: - - $TMPL_RELEASE_ENABLED + +semantic-release: + rules: + # on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED + - if: '$TMPL_RELEASE_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF' \ No newline at end of file diff --git a/.releaserc.yml b/.releaserc.yml index 9c6cd27..ef6b131 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -2,6 +2,7 @@ plugins: [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/gitlab", + "@semantic-release/changelog", [ "@semantic-release/exec", { diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a8066e2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,29 @@ +## [1.4.0](https://gitlab.com/to-be-continuous/gcloud/compare/1.3.0...1.4.0) (2021-09-03) + +### Features + +* Change boolean variable behaviour ([469f03f](https://gitlab.com/to-be-continuous/gcloud/commit/469f03f5596b0072a322e04bd5d9fa412ce57d75)) + +## [1.3.0](https://gitlab.com/to-be-continuous/gcloud/compare/1.2.0...1.3.0) (2021-06-19) + +### Features + +* support multi-lines environment variables substitution ([88dd89a](https://gitlab.com/to-be-continuous/gcloud/commit/88dd89ad5514eb56032093edc5cb81bdfb51df80)) + +## [1.2.0](https://gitlab.com/to-be-continuous/gcloud/compare/1.1.0...1.2.0) (2021-06-10) + +### Features + +* move group ([6ae0887](https://gitlab.com/to-be-continuous/gcloud/commit/6ae088718ba0a22887b3ebe19563c1f9d243823e)) + +## [1.1.0](https://gitlab.com/Orange-OpenSource/tbc/gcloud/compare/1.0.0...1.1.0) (2021-05-18) + +### Features + +* add scoped variables support ([5a59857](https://gitlab.com/Orange-OpenSource/tbc/gcloud/commit/5a598570fd58469b2d8b4020cf1e832aabe602e6)) + +## 1.0.0 (2021-05-06) + +### Features + +* initial release ([9338f48](https://gitlab.com/Orange-OpenSource/tbc/gcloud/commit/9338f487bb12d1fc6527d9a03cff306906945d42)) -- GitLab