Commit 947789d4 authored by Pierre SMEYERS's avatar Pierre SMEYERS
Browse files

Merge branch '1-add_changelog' into 'master'

fix: add changelog

Closes #1

See merge request to-be-continuous/semantic-release!1
parents 3e8b3f56 1682e127
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -9,6 +9,9 @@ include:
    ref: '1.0.0'
    file: 'templates/gitlab-ci-bash.yml'

  - local: "templates/gitlab-ci-semrel.yml"


stages:
  - build
  - publish
@@ -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'
+2 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ plugins: [
  "@semantic-release/commit-analyzer",
  "@semantic-release/release-notes-generator",
  "@semantic-release/gitlab",
    "@semantic-release/changelog",
  [
    "@semantic-release/exec",
    {

CHANGELOG.md

0 → 100644
+56 −0
Original line number Diff line number Diff line
# [2.0.0](https://gitlab.com/to-be-continuous/semantic-release/compare/1.2.0...2.0.0) (2021-09-01)


* Merge branch '3-change-variable-behaviour' into 'master' ([97daa97](https://gitlab.com/to-be-continuous/semantic-release/commit/97daa97bbbf5f956f176474b293a41eae4c6031d)), closes [#3](https://gitlab.com/to-be-continuous/semantic-release/issues/3)


### Features

* Change boolean variable behaviour ([077e9c0](https://gitlab.com/to-be-continuous/semantic-release/commit/077e9c0a1f75ffeece8f57f9ae970863cca08744))


### BREAKING CHANGES

* Change boolean variable behaviour
* boolean variable now triggered on explicit 'true' value




 # [1.2.0](https://gitlab.com/to-be-continuous/semantic-release/compare/1.1.0...1.2.0) (2021-06-10)


### Features

* move group ([9b39127](https://gitlab.com/to-be-continuous/semantic-release/commit/9b391279128aa00d1ec1b6dc09fe8a6f82168bba))



 # [1.1.0](https://gitlab.com/Orange-OpenSource/tbc/semantic-release/compare/1.0.1...1.1.0) (2021-05-18)


### Features

* add scoped variables support ([fe5e9d6](https://gitlab.com/Orange-OpenSource/tbc/semantic-release/commit/fe5e9d68e380d6b41f0cffa95e1bff2bb77dc42e))



 ## [1.0.1](https://gitlab.com/Orange-OpenSource/tbc/semantic-release/compare/1.0.0...1.0.1) (2021-05-12)


### Bug Fixes

* **generated-releaserc:** use strict yaml to avoid unexpected syntax error ([e68c72b](https://gitlab.com/Orange-OpenSource/tbc/semantic-release/commit/e68c72b070b4a91be0e217863a077ec2e4450f04))



 # 1.0.0 (2021-05-06)


### Features

* initial release ([c711a35](https://gitlab.com/Orange-OpenSource/tbc/semantic-release/commit/c711a35b9f634372c420ab8fb5bb5cfaf87d384b))