Skip to content

Commit

Permalink
fixing versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lamg committed Mar 4, 2025
1 parent 9dbb232 commit b0cd1ca
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.4] - 2025-03-03

Fixed:

- Version numbers

## [1.0.3] - 2025-03-03

Added:
Expand Down
1 change: 0 additions & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<PackageVersion Include="FsToolkit.ErrorHandling" Version="4.18.0" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="9.0.0" />
<PackageVersion Include="ObjectDumper.NET" Version="4.3.2" />
<PackageVersion Include="SqlParserCS" Version="0.5.7" />
<PackageVersion Include="SqlPrettify" Version="1.0.3" />
<PackageVersion Include="FSharpPlus" Version="1.6.1" />
</ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/MigLib/MigLib.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>

<PackageId>MigLib</PackageId>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<PackageOutputPath>./nupkg</PackageOutputPath>
<InvariantGlobalization>true</InvariantGlobalization>
<RootNamespace>migrate</RootNamespace>
Expand Down Expand Up @@ -43,7 +43,6 @@
<PackageReference Include="FSharp.Core" />
<PackageReference Include="FsToolkit.ErrorHandling" />
<PackageReference Include="Microsoft.Data.Sqlite" />
<PackageReference Include="SqlParserCS" />
<PackageReference Include="SqlPrettify" />
<PackageReference Include="FSharpPlus" />
</ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions src/mig/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,9 @@ let init () =

let version () =
let asm = System.Reflection.Assembly.GetExecutingAssembly()

let version = asm.GetName().Version
printfn $"{version.Major}.{version.Minor}.{version.Revision}"
printfn $"{version.Major}.{version.Minor}.{version.Build}"
0

[<EntryPoint>]
Expand All @@ -204,7 +205,7 @@ let main args =

try
match command with
| _ when results.Contains Version -> version()
| _ when results.Contains Version -> version ()
| Some(Gen _) -> generate withColors
| Some(Args.Exec flags) when withLog -> Exec.execAndLog flags
| Some(Args.Exec _) -> Exec.exec ()
Expand Down
2 changes: 1 addition & 1 deletion src/mig/mig.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PackageId>migtool</PackageId>
<RootNamespace>migrate</RootNamespace>
<AssemblyName>migrate</AssemblyName>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<PackageOutputPath>./nupkg</PackageOutputPath>
<InvariantGlobalization>true</InvariantGlobalization>

Expand Down

0 comments on commit b0cd1ca

Please sign in to comment.