File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ let netFrameworks = ["v4.0"; "v4.5"]
38
38
// --------------------------------------------------------------------------------------
39
39
40
40
// Read release notes & version info from RELEASE_NOTES.md
41
- let release = LoadReleaseNotes " RELEASE_NOTES.md"
41
+ let release = LoadReleaseNotes (__ SOURCE _ DIRECTORY __ + " / RELEASE_NOTES.md" )
42
42
let isAppVeyorBuild = buildServer = BuildServer.AppVeyor
43
43
let isVersionTag tag = Version.TryParse tag |> fst
44
44
let hasRepoVersionTag = isAppVeyorBuild && AppVeyorEnvironment.RepoTag && isVersionTag AppVeyorEnvironment.RepoTagName
@@ -47,7 +47,7 @@ let buildDate = DateTime.UtcNow
47
47
let buildVersion =
48
48
if hasRepoVersionTag then assemblyVersion
49
49
else if isAppVeyorBuild then sprintf " %s -b%s " assemblyVersion AppVeyorEnvironment.BuildNumber
50
- else sprintf " %s -a %s " assemblyVersion ( buildDate.ToString " yyMMddHHmm " )
50
+ else assemblyVersion
51
51
52
52
Target " BuildVersion" ( fun _ ->
53
53
Shell.Exec( " appveyor" , sprintf " UpdateBuild -Version \" %s \" " buildVersion) |> ignore
You can’t perform that action at this time.
0 commit comments