Skip to content

Commit

Permalink
Modified the release directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
enkomio committed Jan 21, 2019
1 parent f5e2a24 commit bee3ba3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Src/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ let authors = [ "Enkomio" ]
// Build dir
let buildDir = "./build"

// Package dir
let deployDir = "./deploy"
// Release dir
let releaseDir = "./release"

let projects = [
"ES.ManagedInjector.csproj"
Expand Down Expand Up @@ -78,8 +78,8 @@ Target.create "Clean" (fun _ ->
Shell.cleanDir buildDir
Directory.ensure buildDir

Shell.cleanDir deployDir
Directory.ensure deployDir
Shell.cleanDir releaseDir
Directory.ensure releaseDir
)

Target.create "SetAssemblyInfo" (fun _ ->
Expand Down Expand Up @@ -136,7 +136,7 @@ Target.create "Release" (fun _ ->
|> List.exists(fun forbiddenFile -> Path.GetFileName(f).Equals(forbiddenFile, StringComparison.OrdinalIgnoreCase))
|> not
)
|> Zip.zip buildDir (Path.Combine(deployDir, "ManagedInjector." + releaseVersion.AssemblyVersion + ".zip"))
|> Zip.zip buildDir (Path.Combine(releaseDir, "ManagedInjector.v" + releaseVersion.AssemblyVersion + ".zip"))
)

Target.description "Default Build all artifacts"
Expand Down

0 comments on commit bee3ba3

Please sign in to comment.