Compare commits

..
10 Commits
2 changed files with 10 additions and 7 deletions

No files matched your search

+9 -6
View File
@@ -21,15 +21,18 @@ build:
- push
prepare_release:
image: node:20
stage: prepare
before_script:
- npm install -g conventional-changelog-cli
image:
name: orhunp/git-cliff:latest
entrypoint: [ "" ]
variables:
GIT_STRATEGY: clone # clone entire repo instead of reusing workspace
GIT_DEPTH: 0 # avoid shallow clone to give cliff all the info it needs
script:
- conventional-changelog -p conventionalcommits > ./release.description
- git-cliff --current > CHANGELOG.md
artifacts:
paths:
- release.description
- CHANGELOG.md
rules:
- if: $CI_COMMIT_TAG
@@ -43,6 +46,6 @@ release:
- echo "Running release_job for $TAG"
release:
tag_name: '$CI_COMMIT_TAG'
description: ./release.description
description: ./CHANGELOG.md
rules:
- if: $CI_COMMIT_TAG
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:22.2.0
FROM node:22.9.0
ENV PATH=${PATH}:/root/.local/bin