From cb85470610a34a893661e60ca808cfb03861b9c2 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 25 Dec 2024 18:45:38 +0100 Subject: [PATCH] fix: aur sources archive content --- .goreleaser.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 42fc42af..c6e7f1f1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -235,8 +235,6 @@ aur_sources: private_key: "{{ .Env.AUR_KEY }}" git_url: "ssh://aur@aur.archlinux.org/nfpm.git" build: |- - cd "${pkgname}-${pkgver}" - export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" @@ -244,13 +242,8 @@ aur_sources: export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" go build -ldflags="-w -s -buildid='' -linkmode=external -X main.version=v${pkgver}" ./cmd/nfpm - ls -alF chmod +x "./${pkgname}" package: |- - - cd "${pkgname}-${pkgver}" - ls -alF - # Bin install -Dsm755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}"