Skip to content

Commit

Permalink
BREAKING CHANGE: API for CreateAssemblyInfoWithConfig was set back to…
Browse files Browse the repository at this point in the history
… original version

This resets the breacking change introduced in #471
  • Loading branch information
forki committed Jul 8, 2014
1 parent 4c9b324 commit 1642195
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### 3.2.0 - 07.07.2014
* BREAKING CHANGE: API for CreateAssemblyInfoWithConfig was set back to original version
This resets the breacking change introduced in https://github.com/fsharp/FAKE/pull/471

#### 3.1.2 - 07.07.2014
* Automatic tool search for SpecFlowHelper - https://github.com/fsharp/FAKE/pull/496

Expand Down
12 changes: 6 additions & 6 deletions src/app/FakeLib/AssemblyInfoFile.fs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ let private getAssemblyVersionInfo attributes =

/// Creates a C# AssemblyInfo file with the given attributes and configuration.
/// The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
let CreateCSharpAssemblyInfoWithConfig (outputFileName, attributes, config : AssemblyInfoFileConfig) =
let CreateCSharpAssemblyInfoWithConfig outputFileName attributes (config : AssemblyInfoFileConfig) =
traceStartTask "AssemblyInfo" outputFileName
let generateClass, useNamespace = config.GenerateClass, config.UseNamespace

Expand All @@ -145,7 +145,7 @@ let CreateCSharpAssemblyInfoWithConfig (outputFileName, attributes, config : Ass

/// Creates a F# AssemblyInfo file with the given attributes and configuration.
/// The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
let CreateFSharpAssemblyInfoWithConfig (outputFileName, attributes, config : AssemblyInfoFileConfig) =
let CreateFSharpAssemblyInfoWithConfig outputFileName attributes (config : AssemblyInfoFileConfig) =
traceStartTask "AssemblyInfo" outputFileName
let generateClass, useNamespace = config.GenerateClass, config.UseNamespace

Expand All @@ -170,7 +170,7 @@ let CreateFSharpAssemblyInfoWithConfig (outputFileName, attributes, config : Ass

/// Creates a VB AssemblyInfo file with the given attributes and configuration.
/// The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
let CreateVisualBasicAssemblyInfoWithConfig (outputFileName, attributes, config : AssemblyInfoFileConfig) =
let CreateVisualBasicAssemblyInfoWithConfig outputFileName attributes (config : AssemblyInfoFileConfig) =
traceStartTask "AssemblyInfo" outputFileName
let generateClass, useNamespace = config.GenerateClass, config.UseNamespace

Expand All @@ -197,14 +197,14 @@ let CreateVisualBasicAssemblyInfoWithConfig (outputFileName, attributes, config
/// Creates a C# AssemblyInfo file with the given attributes.
/// The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
let CreateCSharpAssemblyInfo outputFileName attributes =
CreateCSharpAssemblyInfoWithConfig (outputFileName, attributes, AssemblyInfoFileConfig.Default)
CreateCSharpAssemblyInfoWithConfig outputFileName attributes AssemblyInfoFileConfig.Default

/// Creates a F# AssemblyInfo file with the given attributes.
/// The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
let CreateFSharpAssemblyInfo outputFileName attributes =
CreateFSharpAssemblyInfoWithConfig (outputFileName, attributes, AssemblyInfoFileConfig.Default)
CreateFSharpAssemblyInfoWithConfig outputFileName attributes AssemblyInfoFileConfig.Default

/// Creates a VB AssemblyInfo file with the given attributes.
/// The generated AssemblyInfo file contains an AssemblyVersionInformation class which can be used to retrieve the current version no. from inside of an assembly.
let CreateVisualBasicAssemblyInfo outputFileName attributes =
CreateVisualBasicAssemblyInfoWithConfig (outputFileName, attributes, AssemblyInfoFileConfig.Default)
CreateVisualBasicAssemblyInfoWithConfig (utputFileName attributes AssemblyInfoFileConfig.Default

0 comments on commit 1642195

Please sign in to comment.