diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe0aeba..9c7dd41 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,10 @@ include: - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' +- project: unboundsoftware/ci-templates + file: Release.gitlab-ci.yml stages: - build -- prepare -- release variables: DOCKER_HOST: tcp://docker:2375/ @@ -19,30 +19,3 @@ build: - unset BUILDTOOLS_CONTENT - build - push - -prepare_release: - image: node:20 - stage: prepare - before_script: - - npm install -g conventional-changelog-cli - script: - - conventional-changelog -p conventionalcommits > ./release.description - artifacts: - paths: - - release.description - rules: - - if: $CI_COMMIT_TAG - -release: - image: registry.gitlab.com/gitlab-org/release-cli:latest - stage: release - needs: - - job: prepare_release - artifacts: true - script: - - echo "Running release_job for $TAG" - release: - tag_name: '$CI_COMMIT_TAG' - description: ./release.description - rules: - - if: $CI_COMMIT_TAG