diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index d82cc29..e27336c 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -20,9 +20,10 @@ jobs: - name: Restore dependencies run: dotnet restore - - name: Pack NuGet package + - name: Pack NuGet packages run: dotnet pack --no-restore -c Release - name: Publish to NuGet.org - run: dotnet nuget push ./src/App/nupkg/hashdir* --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} - + run: | + dotnet nuget push ./src/App/nupkg/hashdir.*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} + dotnet nuget push ./src/HashUtil/nupkg/ultimateanu.HashDir.HashUtil.*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_LIBS_API_KEY}} diff --git a/.yamlfmt.yml b/.yamlfmt.yml new file mode 100644 index 0000000..400f76f --- /dev/null +++ b/.yamlfmt.yml @@ -0,0 +1,4 @@ +formatter: + retain_line_breaks_single: true + pad_line_comments: 2 + indentless_arrays: true diff --git a/Makefile b/Makefile index 94d09dc..48f3941 100644 --- a/Makefile +++ b/Makefile @@ -24,9 +24,6 @@ format: ##(@main) Format all F# code build-release: ##(@main) Do a release build dotnet fsi src/make_release.fsx build -clean: ##(@main) Clean everything - dotnet clean - podman-build-dev: ## (@dev-ide) Build image podman build -t dotnet-dev -f Containerfile diff --git a/src/App.Tests/App.Tests.fsproj b/src/App.Tests/App.Tests.fsproj index d636f23..d27c098 100644 --- a/src/App.Tests/App.Tests.fsproj +++ b/src/App.Tests/App.Tests.fsproj @@ -14,17 +14,17 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/App/App.fsproj b/src/App/App.fsproj index 3fe0bd1..e4582a2 100644 --- a/src/App/App.fsproj +++ b/src/App/App.fsproj @@ -1,47 +1,41 @@  - Exe net8.0 + Exe hashdir - 1.4.0 - + true + true + + + 1.4.1 Anu Bandi https://ultimateanu.github.io/hashdir https://github.com/ultimateanu/hashdir - A command line utility to hash directories and files. - true - true + A command line utility to hash directories and files hashdir - true - hashdir ./nupkg LICENSE README.md - + true + hashdir + - + - - - - - - - True - - - + + + diff --git a/src/Checksums/Checksums.csproj b/src/Checksums/Checksums.csproj index 338717d..9fb651f 100644 --- a/src/Checksums/Checksums.csproj +++ b/src/Checksums/Checksums.csproj @@ -1,12 +1,31 @@ - net8.0 + net8.0 + Library + ultimateanu.HashDir.Checksums + enable enable true - False - None + False + None + false + + + 1.0.0 + + + HashDir.Checksums + ./nupkg + + + + + + + + diff --git a/src/HashUtil.Tests/HashUtil.Tests.fsproj b/src/HashUtil.Tests/HashUtil.Tests.fsproj index 94535e3..eaab716 100644 --- a/src/HashUtil.Tests/HashUtil.Tests.fsproj +++ b/src/HashUtil.Tests/HashUtil.Tests.fsproj @@ -16,17 +16,17 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/HashUtil/HashUtil.fsproj b/src/HashUtil/HashUtil.fsproj index b406c82..565a7d7 100644 --- a/src/HashUtil/HashUtil.fsproj +++ b/src/HashUtil/HashUtil.fsproj @@ -3,6 +3,22 @@ net8.0 Library + ultimateanu.HashDir.HashUtil + + + + + 1.4.1 + Anu Bandi + https://ultimateanu.github.io/hashdir + https://github.com/ultimateanu/hashdir + Library for hashing directories and files + + + HashDir.HashUtil + ./nupkg + LICENSE + README.md @@ -18,15 +34,17 @@ - - - - + + - + + + + + diff --git a/src/make_release.fsx b/src/make_release.fsx index 6a7de54..8da3ee3 100755 --- a/src/make_release.fsx +++ b/src/make_release.fsx @@ -13,7 +13,7 @@ open System.Security.Cryptography open HashUtil.Util // Configuration ---------------------------------------------------- -let versionStr = "1.4.0" +let versionStr = "1.4.1" // ------------------------------------------------------------------ let releaseDir = "release"