Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
a1cc6fdfbb
|
|||
| 9c5ca3c78b | |||
| 5d451d76a3 | |||
| 6cfecc7149 | |||
| b685e433c0 | |||
| 841d4ecd1e | |||
| e6d2f63fe7 | |||
| e50b9ef1ed | |||
| 0de279a8f1 | |||
| 81577546c0 | |||
| dac150019e | |||
| 5175004d52 | |||
| 10839be374 | |||
| 9d66aaa796 | |||
| 11e1f81c87 | |||
| 9688c766a4 | |||
|
7a103b4ed6
|
|||
| d776cd8756 | |||
| 19e78110ef | |||
|
c8e4579ac6
|
+9
-6
@@ -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
|
||||
|
||||
+4
-2
@@ -1,6 +1,8 @@
|
||||
FROM node:20.12.1
|
||||
FROM node:22.9.0
|
||||
|
||||
ENV PATH=${PATH}:/root/.local/bin
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y python3 python3-pip ruby git pipx && \
|
||||
apt install -y python3 python3-pip ruby ruby-dev git pipx && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
pipx install pre-commit
|
||||
|
||||
Reference in New Issue
Block a user