Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
1150e8683c
|
|||
| b1c3f75bbd | |||
| 86092b5a9c | |||
| e5a9e47ce8 | |||
| 7e5081c587 | |||
| 777ff37756 | |||
| 9c9c134476 | |||
| c00faf47a8 |
+5
-5
@@ -21,15 +21,15 @@ build:
|
||||
- push
|
||||
|
||||
prepare_release:
|
||||
image: node:18
|
||||
image: node:20
|
||||
stage: prepare
|
||||
before_script:
|
||||
- npm install -g conventional-changelog-cli
|
||||
script:
|
||||
- echo "DESCRIPTION=$(conventional-changelog -p conventionalcommits)" > variables.env
|
||||
- conventional-changelog -p conventionalcommits > ./release.description
|
||||
artifacts:
|
||||
reports:
|
||||
dotenv: variables.env
|
||||
paths:
|
||||
- release.description
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
@@ -43,6 +43,6 @@ release:
|
||||
- echo "Running release_job for $TAG"
|
||||
release:
|
||||
tag_name: '$CI_COMMIT_TAG'
|
||||
description: '$DESCRIPTION'
|
||||
description: ./release.description
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
+5
-3
@@ -1,9 +1,11 @@
|
||||
FROM golang:1.20
|
||||
FROM golang:1.22.2
|
||||
|
||||
ENV PATH=${PATH}:/root/.local/bin
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y python3 python3-pip ruby git && \
|
||||
apt install -y python3 python3-pip ruby git pipx && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
go install github.com/lietu/go-pre-commit@latest && \
|
||||
go install golang.org/x/tools/cmd/goimports@latest && \
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.2 && \
|
||||
pip install pre-commit
|
||||
pipx install pre-commit
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user