Skip to content

Commit 5bb3b89

Browse files
committed
Test release notes separately
1 parent 62d45e4 commit 5bb3b89

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ release:
147147
--build-arg=SIGSTORE_ID_TOKEN \
148148
.
149149
150+
test-release-notes:
151+
rules:
152+
- if: $CI_COMMIT_TAG =~ /^v/
153+
variables:
154+
GIT_DEPTH: 0
155+
script: |
156+
bash scripts/release-notes-gitlab.sh
157+
150158
prepare:
151159
extends:
152160
- .build:rules

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ RUN --mount=target=.,readwrite \
7171
--mount=type=cache,target=/go/pkg/mod \
7272
--mount=type=cache,target=/root/.cache/go-build <<EOF
7373
goreleaser healthcheck --config=.goreleaser-gitlab.yaml
74-
goreleaser release --config=.goreleaser-gitlab.yaml --release-notes <(bash scripts/release-notes-gitlab.sh)
74+
goreleaser release --config=.goreleaser-gitlab.yaml #--release-notes <(bash scripts/release-notes-gitlab.sh)
7575
EOF
7676

7777
FROM base AS unit-test

0 commit comments

Comments
 (0)