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"]
3838// --------------------------------------------------------------------------------------
3939
4040// 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" )
4242let isAppVeyorBuild = buildServer = BuildServer.AppVeyor
4343let isVersionTag tag = Version.TryParse tag |> fst
4444let hasRepoVersionTag = isAppVeyorBuild && AppVeyorEnvironment.RepoTag && isVersionTag AppVeyorEnvironment.RepoTagName
@@ -47,7 +47,7 @@ let buildDate = DateTime.UtcNow
4747let buildVersion =
4848 if hasRepoVersionTag then assemblyVersion
4949 else if isAppVeyorBuild then sprintf " %s -b%s " assemblyVersion AppVeyorEnvironment.BuildNumber
50- else sprintf " %s -a %s " assemblyVersion ( buildDate.ToString " yyMMddHHmm " )
50+ else assemblyVersion
5151
5252Target " BuildVersion" ( fun _ ->
5353 Shell.Exec( " appveyor" , sprintf " UpdateBuild -Version \" %s \" " buildVersion) |> ignore
You can’t perform that action at this time.
0 commit comments