diff options
author | Brainos | 2025-03-01 13:03:46 +0800 |
---|---|---|
committer | Brainos | 2025-03-01 13:03:46 +0800 |
commit | 112aab167f6895c7981588054208469fb36ce202 (patch) | |
tree | 4938279f935a9e11338fe98d2153068093698b59 /PKGBUILD | |
parent | 573716e1d6d0b2dad4d0e5530ee769ac5ed4c435 (diff) | |
download | aur-git-credential-oauth-git.tar.gz |
correct version flag when building
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Maintainer: M Hickford <mirth.hickford@gmail.com> _pkgbase=git-credential-oauth pkgname=git-credential-oauth-git -pkgver=0.11.1.r0.g2e2b2af +pkgver=0.15.0.r0.g7562c3a pkgrel=1 pkgdesc='Git credential helper that securely authenticates to GitHub, GitLab, BitBucket, Gerrit and other forges using OAuth (Git version)' arch=('any') @@ -31,7 +31,7 @@ build() { export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - go build -o build + go build -ldflags "-X main.version=${pkgver}" -o build . } check() { |