Print artifact source and revision only when available
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
(cherry picked from commit b46e298b4d)
This commit is contained in:
committed by
github-actions[bot]
parent
51532e75b2
commit
95c5c5ab30
@@ -111,8 +111,12 @@ func pullArtifactCmdRun(cmd *cobra.Command, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if meta.Source != "" {
|
||||
logger.Successf("source %s", meta.Source)
|
||||
}
|
||||
if meta.Revision != "" {
|
||||
logger.Successf("revision %s", meta.Revision)
|
||||
}
|
||||
logger.Successf("digest %s", meta.Digest)
|
||||
logger.Successf("artifact content extracted to %s", pullArtifactArgs.output)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user