From e3adf93a7413684cfe4ab457b765fc10ce1b2bb2 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 28 Mar 2022 17:36:07 +0200 Subject: [PATCH] fix: CI release --- .goreleaser.yml | 3 ++- .semaphore/semaphore.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 77186c309..b46259a56 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -12,7 +12,8 @@ builds: - CGO_ENABLED=0 ldflags: - -s -w -X github.com/traefik/traefik/v2/pkg/version.Version={{.Version}} -X github.com/traefik/traefik/v2/pkg/version.Codename={{.Env.CODENAME}} -X github.com/traefik/traefik/v2/pkg/version.BuildDate={{.Date}} - + flags: + - -trimpath goos: - linux - darwin diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 65e89b9b2..593d162b9 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -73,6 +73,8 @@ blocks: - curl -sSL -o /tmp/gh_${GH_VERSION}_linux_amd64.tar.gz https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz - tar -zxvf /tmp/gh_${GH_VERSION}_linux_amd64.tar.gz -C /tmp - sudo mv /tmp/gh_${GH_VERSION}_linux_amd64/bin/gh /usr/local/bin/gh + - sudo rm -rf ~/.phpbrew ~/.kerl ~/.sbt ~/.nvm ~/.npm ~/.kiex /usr/lib/jvm /opt/az /opt/firefox # Remove unnecessary data. + - sudo service docker stop && sudo umount /var/lib/docker && sudo service docker start # Unmounts the docker disk and the whole system disk is usable. jobs: - name: Release commands: