You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/07/28 05:33:00 UTC

[jira] [Created] (YUNIKORN-1885) Allow Go compiler release candidates in version check

Wilfred Spiegelenburg created YUNIKORN-1885:
-----------------------------------------------

             Summary: Allow Go compiler release candidates in version check
                 Key: YUNIKORN-1885
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1885
             Project: Apache YuniKorn
          Issue Type: Task
          Components: build
            Reporter: Wilfred Spiegelenburg
            Assignee: Wilfred Spiegelenburg


The current version check for the Go compiler fails if you use a release candidate.

The current error:
{code:java}
GO=go1.21rc3 make test
/bin/sh: line 0: [: 21rc3: integer expression expected
running unit tests
"go1.21rc3" clean -testcache {code}
This fails due to the fact that the rc tag does not use a "." as a separator and the substring from awk uses an overly large size of 10. We only need 4 chars to support {{x.yy}} as versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org