From 82c3a35a4bc4015b2d1811789c9289855a5117e6 Mon Sep 17 00:00:00 2001 From: Florian Bauer Date: Thu, 24 Oct 2024 20:59:11 +0200 Subject: [PATCH] fix: clean repo before building package Signed-off-by: Florian Bauer --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d17527..cf51612 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,7 @@ packages: image: goreleaser/goreleaser@sha256:d62b4a18dfe3af7bd4da9e5954b496548ef04e73ae8f98cd75ba63a9ed4d73e5 script: - git reset --hard $CI_COMMIT_SHA + - git clean -ffdx - | if [ -n "$CI_COMMIT_TAG" ]; then goreleaser release --skip publish --clean