Skip to content

Commit

Permalink
fix: clean repo before building package
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bauer <[email protected]>
  • Loading branch information
fsrv-xyz committed Oct 24, 2024
1 parent d27722a commit 82c3a35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82c3a35

Please sign in to comment.