Commit b8cebbf5 authored by Pierre SMEYERS's avatar Pierre SMEYERS
Browse files

Merge branch '3-add_changelog' into 'master'

doc: add changelog

Closes #3

See merge request to-be-continuous/bash!3
parents 996d983d 147afe54
Loading
Loading
Loading
Loading
+7 −12
Original line number Diff line number Diff line
@@ -6,6 +6,9 @@ include:
    ref: 'master'
    file: '/templates/validation.yml'
  - local: 'templates/gitlab-ci-bash.yml'
  - project: 'to-be-continuous/semantic-release'
    ref: '2.0.2'
    file: '/templates/gitlab-ci-semrel.yml'  

stages:
  - build
@@ -28,15 +31,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'
+1 −0
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
+15 −0
Original line number Diff line number Diff line
## [2.0.0](https://gitlab.com/to-be-continuous/bash/compare/1.0.0...2.0.0) (2021-09-02)

### Features

* Change boolean variable behaviour ([803eac3](https://gitlab.com/to-be-continuous/bash/commit/803eac3ddd20d039845836105a721191cdba7f21))

### BREAKING CHANGES

* boolean variable now triggered on explicit 'true' value

## 1.0.0 (2021-06-10)

### Features

* initial release ([a925c72](https://gitlab.com/to-be-continuous/bash/commit/a925c722df2df4d2eb986b5eb74c57652b70e96c))