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 2020/07/17 05:34:00 UTC

[jira] [Created] (YUNIKORN-289) local build uses wrong sha

Wilfred Spiegelenburg created YUNIKORN-289:
----------------------------------------------

             Summary: local build uses wrong sha
                 Key: YUNIKORN-289
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-289
             Project: Apache YuniKorn
          Issue Type: Sub-task
          Components: release
            Reporter: Wilfred Spiegelenburg


When a {{replace}} is in the go.mod file the build does not handle is nicely and the SHA that we retrieve for the docker build tag shows strange info:
{code}
go list -m "github.com/apache/incubator-yunikorn-core" | cut -d "-" -f6
4ea58b502d38 => ../incubator
{code}

We only want the first part of the info.
The second thing we need to be careful with is the tag: if the semver tag changes to include any dashes we will be generating the wrong info.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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