File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -121,16 +121,19 @@ let excludedFiles = [
121121 " /**/*.xml"
122122]
123123
124+ type NpmPackage = JsonProvider< " src/Azure.Functions.Cli/npm/package.json" >
125+
124126Target " Zip" ( fun _ ->
127+ let npmVersion = NpmPackage.GetSample() .Version
125128 targetRuntimes
126129 |> List.iter ( fun runtime ->
127130 !! ( buildDir @@ runtime @@ @" /**/*.*" )
128131 |> ( fun f -> List.fold (--) f excludedFiles)
129- |> Zip ( buildDir @@ runtime) ( deployDir @@ ( " Azure.Functions.Cli." + runtime + " .zip" )))
132+ |> Zip ( buildDir @@ runtime) ( deployDir @@ ( " Azure.Functions.Cli." + runtime + " ." + npmVersion + " . zip" )))
130133
131134 !! ( buildDirNoRuntime @@ @" /**/*.*" )
132135 |> ( fun f -> List.fold (--) f excludedFiles)
133- |> Zip buildDirNoRuntime ( deployDir @@ " Azure.Functions.Cli.no-runtime.zip" )
136+ |> Zip buildDirNoRuntime ( deployDir @@ " Azure.Functions.Cli.no-runtime." + npmVersion + " . zip" )
134137)
135138
136139type SigningInfo =
You can’t perform that action at this time.
0 commit comments