From 33a563906a07ba1ca8bb406a64a06722369560eb Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 14 May 2025 11:42:01 +0200 Subject: [PATCH] dev: remove AUR publishing --- .goreleaser.yml | 72 ------------------------------------------------- 1 file changed, 72 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 98346da5f7fd..b8bba3bea74f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -140,78 +140,6 @@ brews: # source_repo: "https://push.chocolatey.org/" # goamd64: v1 -aurs: - - description: Fast linters runner for Go. - skip_upload: false - homepage: https://golangci.com - provides: - - "golangci-lint-bin" - maintainers: - - "Fernandez Ludovic " - license: GPL-3.0 - private_key: "{{ .Env.AUR_KEY }}" - git_url: "ssh://aur@aur.archlinux.org/golangci-lint-bin.git" - commit_author: - name: golangci-releaser - email: 65486276+golangci-releaser@users.noreply.github.com - package: |- - local x86_64=amd64 i686=386 aarch64=arm64 armv6h=armv6 armv7h=armv7 - cd "golangci-lint-${pkgver}-linux-${!CARCH}" - - # bin - install -Dm755 "./golangci-lint" "${pkgdir}/usr/bin/golangci-lint" - - # license - install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/golangci-lint/LICENSE" - - # completions - mkdir -p "${pkgdir}/usr/share/bash-completion/completions/" - mkdir -p "${pkgdir}/usr/share/zsh/site-functions/" - mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/" - ./golangci-lint completion bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/golangci-lint" - ./golangci-lint completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_golangci-lint" - ./golangci-lint completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/golangci-lint.fish" - -aur_sources: - - description: Fast linters runner for Go. - skip_upload: false - homepage: https://golangci.com - provides: - - "golangci-lint" - maintainers: - - "Fernandez Ludovic " - license: GPL-3.0 - private_key: "{{ .Env.AUR_KEY }}" - git_url: "ssh://aur@aur.archlinux.org/golangci-lint.git" - commit_author: - name: golangci-releaser - email: 65486276+golangci-releaser@users.noreply.github.com - build: |- - local _commit _flags - _commit=$(bsdcat "${pkgname}_${pkgver}.tar.gz" | git get-tar-commit-id) - _flags=( - -X=main.version="$pkgver" - -X=main.commit="${_commit::7}" - -X=main.date="$(date -u -d "@${SOURCE_DATE_EPOCH}" +'%FT%TZ')" - -linkmode=external - ) - export CGO_ENABLED=1 - export CGO_CFLAGS="${CFLAGS}" - export CGO_CPPFLAGS="$CPPFLAGS" - export CGO_CXXFLAGS="$CXXFLAGS" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS='-buildmode=pie -trimpath -modcacherw' - - go build -o "$pkgname" -ldflags="${_flags[*]}" ./cmd/"$pkgname" - ./"$pkgname" completion bash > completion.bash - ./"$pkgname" completion zsh > completion.zsh - ./"$pkgname" completion fish > completion.fish - package: |- - install -Dm755 "$pkgname" -t "$pkgdir"/usr/bin - install -Dm644 completion.bash "$pkgdir"/usr/share/bash-completion/completions/"$pkgname" - install -Dm644 completion.zsh "$pkgdir"/usr/share/zsh/site-functions/_"$pkgname" - install -Dm644 completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/"$pkgname".fish - snapcrafts: - summary: Fast linters runner for Go. description: |