Package Details: terraform-ls 0.28.1-1

Git Clone URL: https://aur.archlinux.org/terraform-ls.git (read-only, click to copy)
Package Base: terraform-ls
Description: Terraform Language Server
Upstream URL: https://github.com/hashicorp/terraform-ls
Licenses: custom:MPL2
Submitter: xenrox
Maintainer: xenrox
Last Packager: xenrox
Votes: 13
Popularity: 2.38
First Submitted: 2020-09-22 22:19 (UTC)
Last Updated: 2022-06-09 18:46 (UTC)

Required by (0)

Sources (1)

Latest Comments

xenrox commented on 2022-06-07 21:56 (UTC)

Sorry, seems like they revoked the first release and released it a second time.

parcimonic commented on 2022-06-07 21:37 (UTC)

Build is failing due to checksum mismatch:

==> Making package: terraform-ls 0.28.0-1 (Tue Jun  7 18:33:53 2022)
==> Retrieving sources...
  -> Downloading terraform-ls-0.28.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1043k    0 1043k    0     0  2506k      0 --:--:-- --:--:-- --:--:-- 2506k
==> Validating source files with sha256sums...
    terraform-ls-0.28.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Output of sha256sum:

$ sha256sum terraform-ls-0.28.0.tar.gz
3c52faab9ef60f246c1f046b5689306ec6265eca6d560833dd797b8ec80b6129  terraform-ls-0.28.0.tar.gz

xenrox commented on 2020-12-09 16:53 (UTC)

The version is correct now.

FallenWarrior2k commented on 2020-12-09 07:24 (UTC)

Could you please include build flags to set the version on the resulting binary?

diff --git a/PKGBUILD b/PKGBUILD
index db45658..f2ea048 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ build() {
     export CGO_CXXFLAGS="${CXXFLAGS}"
     export CGO_LDFLAGS="${LDFLAGS}"
     export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-    go build
+    go build -ldflags "-X main.version=$pkgver -X main.prerelease="
 }

 package() {