diff --git a/src/Paket.Unity3D.Bootstrapper/Properties/AssemblyInfo.cs b/src/Paket.Unity3D.Bootstrapper/Properties/AssemblyInfo.cs index 5f54c27..710b5c5 100644 --- a/src/Paket.Unity3D.Bootstrapper/Properties/AssemblyInfo.cs +++ b/src/Paket.Unity3D.Bootstrapper/Properties/AssemblyInfo.cs @@ -4,14 +4,14 @@ [assembly: AssemblyTitleAttribute("Paket.Unity3D.Bootstrapper")] [assembly: AssemblyProductAttribute("Paket.Unity3D")] [assembly: AssemblyDescriptionAttribute("Piggy-backs ontop of Paket to add dependencies to Unity3D projects")] -[assembly: AssemblyVersionAttribute("0.2.3")] -[assembly: AssemblyFileVersionAttribute("0.2.3")] +[assembly: AssemblyVersionAttribute("0.3.0")] +[assembly: AssemblyFileVersionAttribute("0.3.0")] namespace System { internal static class AssemblyVersionInformation { internal const System.String AssemblyTitle = "Paket.Unity3D.Bootstrapper"; internal const System.String AssemblyProduct = "Paket.Unity3D"; internal const System.String AssemblyDescription = "Piggy-backs ontop of Paket to add dependencies to Unity3D projects"; - internal const System.String AssemblyVersion = "0.2.3"; - internal const System.String AssemblyFileVersion = "0.2.3"; + internal const System.String AssemblyVersion = "0.3.0"; + internal const System.String AssemblyFileVersion = "0.3.0"; } } diff --git a/src/Paket.Unity3D/AssemblyInfo.fs b/src/Paket.Unity3D/AssemblyInfo.fs index 44e3886..5fee96c 100644 --- a/src/Paket.Unity3D/AssemblyInfo.fs +++ b/src/Paket.Unity3D/AssemblyInfo.fs @@ -5,13 +5,13 @@ open System.Reflection [] [] [] -[] -[] +[] +[] do () module internal AssemblyVersionInformation = let [] AssemblyTitle = "Paket.Unity3D" let [] AssemblyProduct = "Paket.Unity3D" let [] AssemblyDescription = "Piggy-backs ontop of Paket to add dependencies to Unity3D projects" - let [] AssemblyVersion = "0.2.3" - let [] AssemblyFileVersion = "0.2.3" + let [] AssemblyVersion = "0.3.0" + let [] AssemblyFileVersion = "0.3.0" diff --git a/src/Paket.Unity3D/Program.fs b/src/Paket.Unity3D/Program.fs index 85fec4d..fb9dd84 100644 --- a/src/Paket.Unity3D/Program.fs +++ b/src/Paket.Unity3D/Program.fs @@ -10,7 +10,6 @@ open System open Nessos.UnionArgParser let assembly = Assembly.GetExecutingAssembly() -let fvi = FileVersionInfo.GetVersionInfo(assembly.Location); Logging.event.Publish |> Observable.subscribe Logging.traceToConsole @@ -19,7 +18,7 @@ Logging.event.Publish type Command = | [][] Install | [][] Add - | [][] VersionCmd + | [][] VersionCmd with interface IArgParserTemplate with member __.Usage = "" @@ -58,7 +57,7 @@ let args = Environment.GetCommandLineArgs().[1..] try match args with | Command(Install, rest) -> - Logging.tracefn "Paket.Unity3D version %s" fvi.FileVersion + Logging.tracefn "Paket.Unity3D version %s" AssemblyVersionInformation.AssemblyVersion let results = commandArgs rest Paket.Logging.verbose <- results.Contains <@ AddArgs.Verbose @> let deps = Dependencies.Locate().DependenciesFile |> DependenciesFile.ReadFromFile @@ -66,7 +65,7 @@ try let sources = deps.GetAllPackageSources() Paket.Unity3D.InstallProcess.Install(sources,InstallerOptions.Default,lock) | Command(Add, rest) -> - Logging.tracefn "Paket.Unity3D version %s" fvi.FileVersion + Logging.tracefn "Paket.Unity3D version %s" AssemblyVersionInformation.AssemblyVersion let results = commandArgs rest let nuget = results.GetResult <@ AddArgs.Nuget @> Paket.Logging.verbose <- results.Contains <@ AddArgs.Verbose @> @@ -80,7 +79,7 @@ try let dep = Dependencies.Locate() Paket.Unity3D.AddProcess.Add(dep.DependenciesFile, Paket.Domain.PackageName packageName, version, force, hard, interactive, noInstall |> not) | Command(VersionCmd, rest) -> - Logging.tracefn "%s" fvi.FileVersion + Logging.tracefn "%s" AssemblyVersionInformation.AssemblyVersion | _ -> failwith "Paket.Unity3D does not know that command" with | exn when not (exn :? System.NullReferenceException) ->