Update to v1.63.0

This commit is contained in:
golangci-releaser 2025-01-01 13:34:14 +00:00
parent 7da6e53d38
commit 2c0b650bb6
2 changed files with 31 additions and 33 deletions

View File

@ -1,18 +1,17 @@
pkgbase = golangci-lint
pkgdesc = Linters Runner for Go. 5x faster than gometalinter.
pkgver = 1.62.2
pkgdesc = Fast linters runner for Go.
pkgver = 1.63.0
pkgrel = 1
url = https://github.com/golangci/golangci-lint
arch = x86_64
arch = i686
url = https://golangci.com
arch = aarch64
arch = armv7h
arch = armv6h
license = GPL3
makedepends = git
arch = x86_64
license = GPL-3.0
makedepends = go
depends = glibc
source = https://github.com/golangci/golangci-lint/archive/v1.62.2/golangci-lint-1.62.2.tar.gz
sha256sums = 7308f5767ad92bb1c306cfc47456b71915607f5b2457d6e3b61890957bc17e27
makedepends = git
conflicts = golangci-lint
provides = golangci-lint
source = https://github.com/golangci/golangci-lint/releases/download/v1.63.0/golangci-lint-1.63.0-source.tar.gz
sha256sums = 7560b7380a47f60cd153afb08cfea42957f1725a34e4b20928ac578e4ece8156
pkgname = golangci-lint

View File

@ -1,25 +1,25 @@
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Fernandez Ludovic <lfernandez dot dev at gmail dot com>
pkgname=golangci-lint
pkgdesc='Linters Runner for Go. 5x faster than gometalinter.'
pkgver=1.62.2
pkgname='golangci-lint'
pkgver=1.63.0
pkgrel=1
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
url='https://github.com/golangci/golangci-lint'
license=('GPL3')
depends=('glibc')
makedepends=('git' 'go')
source=("https://github.com/golangci/golangci-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('7308f5767ad92bb1c306cfc47456b71915607f5b2457d6e3b61890957bc17e27')
build() {
pkgdesc='Fast linters runner for Go.'
url='https://golangci.com'
arch=('aarch64' 'x86_64')
license=('GPL-3.0')
provides=('golangci-lint')
conflicts=('golangci-lint')
makedepends=('go' 'git')
source=("${pkgname}_${pkgver}.tar.gz::https://github.com/golangci/golangci-lint/releases/download/v1.63.0/golangci-lint-1.63.0-source.tar.gz")
sha256sums=('7560b7380a47f60cd153afb08cfea42957f1725a34e4b20928ac578e4ece8156')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
-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}"
@ -35,7 +35,6 @@ build() {
./"$pkgname" completion zsh > completion.zsh
./"$pkgname" completion fish > completion.fish
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 "$pkgname" -t "$pkgdir"/usr/bin