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

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

     [ https://issues.apache.org/jira/browse/YUNIKORN-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wilfred Spiegelenburg reassigned YUNIKORN-289:
----------------------------------------------

    Assignee: Wilfred Spiegelenburg

> 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
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org