Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
a1cc6fdfbb
|
|||
| 9c5ca3c78b | |||
| 5d451d76a3 | |||
| 6cfecc7149 | |||
| b685e433c0 | |||
| 841d4ecd1e | |||
| e6d2f63fe7 | |||
| e50b9ef1ed | |||
| 0de279a8f1 | |||
| 81577546c0 |
+9
-6
@@ -21,15 +21,18 @@ build:
|
|||||||
- push
|
- push
|
||||||
|
|
||||||
prepare_release:
|
prepare_release:
|
||||||
image: node:20
|
|
||||||
stage: prepare
|
stage: prepare
|
||||||
before_script:
|
image:
|
||||||
- npm install -g conventional-changelog-cli
|
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:
|
script:
|
||||||
- conventional-changelog -p conventionalcommits > ./release.description
|
- git-cliff --current > CHANGELOG.md
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- release.description
|
- CHANGELOG.md
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
|
||||||
@@ -43,6 +46,6 @@ release:
|
|||||||
- echo "Running release_job for $TAG"
|
- echo "Running release_job for $TAG"
|
||||||
release:
|
release:
|
||||||
tag_name: '$CI_COMMIT_TAG'
|
tag_name: '$CI_COMMIT_TAG'
|
||||||
description: ./release.description
|
description: ./CHANGELOG.md
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM node:22.2.0
|
FROM node:22.9.0
|
||||||
|
|
||||||
ENV PATH=${PATH}:/root/.local/bin
|
ENV PATH=${PATH}:/root/.local/bin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user