Skip to content

Commit d87d989

Browse files
authored
ci: aur sources archive content (#896)
1 parent cf9e795 commit d87d989

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.goreleaser.yml

-7
Original file line numberDiff line numberDiff line change
@@ -235,22 +235,15 @@ aur_sources:
235235
private_key: "{{ .Env.AUR_KEY }}"
236236
git_url: "ssh://[email protected]/nfpm.git"
237237
build: |-
238-
cd "${pkgname}-${pkgver}"
239-
240238
export CGO_CPPFLAGS="${CPPFLAGS}"
241239
export CGO_CFLAGS="${CFLAGS}"
242240
export CGO_CXXFLAGS="${CXXFLAGS}"
243241
export CGO_LDFLAGS="${LDFLAGS}"
244242
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
245243
go build -ldflags="-w -s -buildid='' -linkmode=external -X main.version=v${pkgver}" ./cmd/nfpm
246244
247-
ls -alF
248245
chmod +x "./${pkgname}"
249246
package: |-
250-
251-
cd "${pkgname}-${pkgver}"
252-
ls -alF
253-
254247
# Bin
255248
install -Dsm755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
256249

0 commit comments

Comments
 (0)