Christian Rebischke pushed to branch main at Arch Linux / Packaging / Packages 
/ terragrunt


Commits:
81bb299e by loqs at 2023-12-20T11:00:37+00:00
Fix version reported by --version.

Update the importpath of Version variable from main to 
github.com/gruntwork-io/go-commons/version which was changed in upstream commit 
73d2c831bdae08aee7bc5df1d04165e0c7d5554e [1].

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/terragrunt/-/issues/1

[1]: 
https://github.com/gruntwork-io/terragrunt/commit/73d2c831bdae08aee7bc5df1d04165e0c7d5554e

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -24,7 +24,7 @@ build() {
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath 
-mod=readonly -modcacherw"
   go build -v \
-    -ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 
main.VERSION=${pkgver}" \
+    -ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 
github.com/gruntwork-io/go-commons/version.Version=${pkgver}" \
     .
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/terragrunt/-/commit/81bb299eeb3102f67851c704f123306376207f24

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/terragrunt/-/commit/81bb299eeb3102f67851c704f123306376207f24
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to