diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4868ca4a151976f678844d6a094958e6290de1a3..c60d2cc07335ce403c63b70ff20830a31e0aa5da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,3 +7,18 @@ include: - project: 'graphpolaris/pipelines' ref: main file: 'docker-build-push.yml' + +stages: + - release + +release: + image: node:12-buster-slim + tags: + - gp-runners + before_script: + - apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates + - npm install -g semantic-release @semantic-release/gitlab + script: + - semantic-release --dry-run +# rules: +# - if: $CI_COMMIT_BRANCH == "master"