Always include all upload steps regardless of configuration
This commit is contained in:
parent
2de91e4862
commit
a665e6b822
|
@ -188,10 +188,10 @@ func (p *PostProcessor) PostProcess(ctx context.Context, ui packersdk.Ui, artifa
|
|||
new(stepCreateProvider),
|
||||
}
|
||||
if p.config.BoxDownloadUrl == "" {
|
||||
steps = append(steps, new(stepPrepareUpload), new(stepUpload))
|
||||
if !p.config.NoDirectUpload {
|
||||
steps = append(steps, new(stepConfirmUpload))
|
||||
}
|
||||
steps = append(steps,
|
||||
new(stepPrepareUpload),
|
||||
new(stepUpload),
|
||||
new(stepConfirmUpload))
|
||||
}
|
||||
steps = append(steps, new(stepReleaseVersion))
|
||||
|
||||
|
|
Loading…
Reference in New Issue