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: [email protected]
For additional commands, e-mail: [email protected]