summaryrefslogtreecommitdiff
path: root/config/artifacts.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/artifacts.go')
-rw-r--r--config/artifacts.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/artifacts.go b/config/artifacts.go
index 74efcab..9f23e42 100644
--- a/config/artifacts.go
+++ b/config/artifacts.go
@@ -23,14 +23,14 @@ type ArtifactsConfig struct {
// InstructionsForPhase injects instructions into the given build phase that
// copy configured artifacts.
//
-// PhasePostInstall
+// PhaseInstall
//
// Injects build.CopyFrom instructions for the configured source and
// destination paths.
//
func (ac ArtifactsConfig) InstructionsForPhase(phase build.Phase) []build.Instruction {
switch phase {
- case build.PhasePostInstall:
+ case build.PhaseInstall:
return []build.Instruction{
build.CopyFrom{ac.From, build.Copy{[]string{ac.Source}, ac.Destination}},
}