From 5a866cb463a696def53fcbad7933145545366235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com> Date: Tue, 14 Sep 2021 12:00:16 +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 | 21 ++++++++------------- .releaserc.yml | 1 + CHANGELOG.md | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 13 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9eb53ac..e13438f 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 @@ -30,15 +33,7 @@ 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' diff --git a/.releaserc.yml b/.releaserc.yml index 9c6cd27..232509d 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..d9043b4 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,51 @@ +## [2.0.0](https://gitlab.com/to-be-continuous/python/compare/1.3.0...2.0.0) (2021-09-08) + +### Features + +* Change boolean variable behaviour ([4bb11b9](https://gitlab.com/to-be-continuous/python/commit/4bb11b9e2f971ba75fe1c4a36b9c1d475a6f1cb6)) + +### BREAKING CHANGES + +* boolean variable now triggered on explicit 'true' value + +## [1.3.0](https://gitlab.com/to-be-continuous/python/compare/1.2.3...1.3.0) (2021-09-03) + +### Features + +* add Poetry extras support (PYTHON_POETRY_EXTRAS variable) ([e079e30](https://gitlab.com/to-be-continuous/python/commit/e079e305ddaf508d3105394df3fab1be92d6e38c)) + +## [1.2.3](https://gitlab.com/to-be-continuous/python/compare/1.2.2...1.2.3) (2021-07-26) + +### Bug Fixes + +* **poetry:** add option to disable poetry ([dbfe6f6](https://gitlab.com/to-be-continuous/python/commit/dbfe6f6b9abee4bf4aa68b603d015283a5e0bcc1)) + +## [1.2.2](https://gitlab.com/to-be-continuous/python/compare/1.2.1...1.2.2) (2021-06-24) + +### Bug Fixes + +* permission on reports directory ([f44e03a](https://gitlab.com/to-be-continuous/python/commit/f44e03a3afbad8c68babf51bc883da52bdf1c5b7)) + +## [1.2.1](https://gitlab.com/to-be-continuous/python/compare/1.2.0...1.2.1) (2021-06-23) + +### Bug Fixes + +* \"Missing git package for py-release job\" ([082f308](https://gitlab.com/to-be-continuous/python/commit/082f308330eb16a42704370190c66ba5a7823671)) + +## [1.2.0](https://gitlab.com/to-be-continuous/python/compare/1.1.0...1.2.0) (2021-06-10) + +### Features + +* move group ([688d6f2](https://gitlab.com/to-be-continuous/python/commit/688d6f26374c4bc0610a0f979ed836c5e46c7754)) + +## [1.1.0](https://gitlab.com/Orange-OpenSource/tbc/python/compare/1.0.0...1.1.0) (2021-05-18) + +### Features + +* add scoped variables support ([73dbac6](https://gitlab.com/Orange-OpenSource/tbc/python/commit/73dbac6b81dcbe22b3fcfdbd34493b43fe8464a2)) + +## 1.0.0 (2021-05-06) + +### Features + +* initial release ([a1a8677](https://gitlab.com/Orange-OpenSource/tbc/python/commit/a1a867713c55fdc0ac17c3e7bd5540a7aee314cd)) -- GitLab