[kde-linux/kde-linux/buildstream] /: build: don't use go install
Harald Sitter <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 751d3be2d4803367f28add7062164e3b8de59599 by Harald Sitter.
Committed on 03/08/2026 at 13:50.
Pushed by sitter into branch 'buildstream'.
build: don't use go install
something is wonky with some server side cache that refuses to give the
latest ref. clone and build manually instead so we can be sure it is the
latest ref we are on
M +5 -2 build.sh
https://invent.kde.org/kde-linux/kde-linux/-/commit/751d3be2d4803367f28add7062164e3b8de59599
diff --git a/build.sh b/build.sh
index 6be49215..073507d4 100755
--- a/build.sh
+++ b/build.sh
@@ -12,8 +12,11 @@ set -ex
S3_PACKAGES_URL="https://storage.kde.org/kde-linux-packages/testing/"
if [ "${CI_COMMIT_BRANCH:-}" == "buildstream" ]; then
- go install invent.kde.org/sitter/kde-linux-ci-artifacts-find-latest@master
- S3_PACKAGES_URL="$(~/go/bin/kde-linux-ci-artifacts-find-latest --project kde-linux/kde-linux-packages)/testing-buildstream/"
+ git clone https://invent.kde.org/sitter/kde-linux-ci-artifacts-find-latest
+ cd kde-linux-ci-artifacts-find-latest
+ go build
+ S3_PACKAGES_URL="$(./kde-linux-ci-artifacts-find-latest --project kde-linux/kde-linux-packages)/testing-buildstream/"
+ cd ..
fi
# Creates a sysext containing the KDE debug symbols, downloaded from the packages pipeline.