mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] ci: coverity: fix git hash truncation to 10 characters
@ 2025-03-21 10:12 Ahmad Fatoum
  0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2025-03-21 10:12 UTC (permalink / raw)
  To: barebox; +Cc: jre, Ahmad Fatoum

A misplaced $ lead to versions looking like this:

  Version: 2025.02.0-g\{84a1605196530ff77...

instead of

  Version: 2025.02.0-g84a1605196

Move it to fix.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Untested, but looks straight-forward enough.
---
 .github/workflows/coverity.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/coverity.sh b/.github/workflows/coverity.sh
index 1fd7dd068275..ee4a481503c7 100755
--- a/.github/workflows/coverity.sh
+++ b/.github/workflows/coverity.sh
@@ -33,7 +33,7 @@ function run_coverity {
     tool_dir=$(find "$COVERITY_SCAN_TOOL_BASE" -type d -name 'cov-analysis*')
     results_archive="analysis-results.tgz"
 
-    version="$(make bareboxversion)-g{$GITHUB_SHA:0:10}"
+    version="$(make bareboxversion)-g${GITHUB_SHA:0:10}"
 
     make ARCH=sandbox sandbox_defconfig
     COVERITY_UNSUPPORTED=1 "$tool_dir/bin/cov-build" --dir "$results_dir" sh -c "make -j$(nproc) ARCH=sandbox"
-- 
2.39.5




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-21 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-21 10:12 [PATCH master] ci: coverity: fix git hash truncation to 10 characters Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox