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

Merge branch '10-add_changelog' into 'master'

doc: add changelog generation

Closes #10

See merge request to-be-continuous/angular!3
parents aa98b569 03cfc3ef
Loading
Loading
Loading
Loading
+10 −14
Original line number Diff line number Diff line
@@ -6,8 +6,11 @@ include:
    ref: 'master'
    file: '/templates/validation.yml'
  - project: 'to-be-continuous/bash'
    ref: '1.0.0'
    file: 'templates/gitlab-ci-bash.yml'
    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,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'
+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
+33 −0
Original line number Diff line number Diff line
## [2.0.0](https://gitlab.com/to-be-continuous/angular/compare/1.2.0...2.0.0) (2021-09-02)

### Features

* Change boolean variable behaviour ([6b573ea](https://gitlab.com/to-be-continuous/angular/commit/6b573ea47079cd20f7c7765409a8e76d1b5b1247))

### BREAKING CHANGES

* boolean variable now triggered on explicit 'true' value

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

### Features

* move group ([0541826](https://gitlab.com/to-be-continuous/angular/commit/054182647fa378014daeefd81c4f7fb2e433ce02))

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

### Features

* add scoped variables support ([11ba7ae](https://gitlab.com/Orange-OpenSource/tbc/angular/commit/11ba7ae7b3eb5869f737a3a1b5bcb9220749bb39))

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

### Bug Fixes

* remove double $NG_WORKSPACE_DIR in JUnit report ([960fe3d](https://gitlab.com/Orange-OpenSource/tbc/angular/commit/960fe3dba7633c1a482adc5296a70465197c24db))

## 1.0.0 (2021-05-06)

### Features

* initial release ([6645031](https://gitlab.com/Orange-OpenSource/tbc/angular/commit/6645031f9a66dee712976a42f9b9e53e278fb8ad))