Skip to content

Commit 1a86b73

Browse files
committed
fix: Add FrameworkVersion to DeployOptions
1 parent d756a5c commit 1a86b73

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

go/porcelain/deploy.go

+6-4
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ type DeployOptions struct {
9191
Branch string
9292
CommitRef string
9393
Framework string
94+
FrameworkVersion string
9495
UploadTimeout time.Duration
9596
PreProcessTimeout time.Duration
9697

@@ -262,10 +263,11 @@ func (n *Netlify) DoDeploy(ctx context.Context, options *DeployOptions, deploy *
262263
options.functionsConfig = functionsConfig
263264

264265
deployFiles := &models.DeployFiles{
265-
Files: options.files.Sums,
266-
Draft: options.IsDraft,
267-
Async: n.overCommitted(options.files),
268-
Framework: options.Framework,
266+
Files: options.files.Sums,
267+
Draft: options.IsDraft,
268+
Async: n.overCommitted(options.files),
269+
Framework: options.Framework,
270+
FrameworkVersion: options.FrameworkVersion,
269271
}
270272
if options.functions != nil {
271273
deployFiles.Functions = options.functions.Sums

0 commit comments

Comments
 (0)