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-unsubscr...@yunikorn.apache.org For additional commands, e-mail: dev-h...@yunikorn.apache.org