From f9cc3854bd8176f3d93c0a4e7384c3e5d604840c Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 10:56:31 -0500 Subject: [PATCH 1/9] Update ATL.csproj Net6.0 reached EOL, netstandard2.1 will still work with Net6.0 so we replace it with active LTS version net 8.0 --- ATL/ATL.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ATL/ATL.csproj b/ATL/ATL.csproj index eaa3df7d..4ec4e543 100644 --- a/ATL/ATL.csproj +++ b/ATL/ATL.csproj @@ -1,6 +1,6 @@  - net6.0;netstandard2.1 + net8.0;netstandard2.1 Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets true From 8c60511798f35518c160482156725e762c618608 Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 11:53:54 -0500 Subject: [PATCH 2/9] Update ATL.csproj Make project show a valid source link, include symbols and make build deterministic --- ATL/ATL.csproj | 58 ++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 49 insertions(+), 9 deletions(-) diff --git a/ATL/ATL.csproj b/ATL/ATL.csproj index 4ec4e543..bceb3966 100644 --- a/ATL/ATL.csproj +++ b/ATL/ATL.csproj @@ -8,29 +8,59 @@ z440.atl.core 6.16.0 false - audio metadata tag mp3 mp4 aac id3v2 ogg vorbis opus flac playlist cue - + audio;metadata;tag;mp3;mp4;aac;id3v2;ogg;vorbis;opus;flac;playlist;cue https://github.com/Zeugma440/atldotnet + README.md + git + https://github.com/Zeugma440/atldotnet.git Zeugma440 Audio Tools Library (ATL) for .NET - 6.16.0.0 6.16.0 false - - full - true - true MIT - - + Zeugma440 + + + + + true + + + + + embedded + True + + + embedded + True + + + embedded + True + + + embedded + True + + + + + + +   + @(ReleaseNoteLines, '%0a') + + + @@ -68,4 +98,14 @@ Resources.Designer.cs + + + + + + + + PreserveNewest + + From e9ba288c1da40ac21e55cfe461c4d72cc36dcda3 Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 12:19:51 -0500 Subject: [PATCH 3/9] Revert "Update ATL.csproj" This reverts commit f9cc3854bd8176f3d93c0a4e7384c3e5d604840c. --- ATL/ATL.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ATL/ATL.csproj b/ATL/ATL.csproj index bceb3966..bf7a496c 100644 --- a/ATL/ATL.csproj +++ b/ATL/ATL.csproj @@ -1,6 +1,6 @@  - net8.0;netstandard2.1 + net6.0;netstandard2.1 Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets true From 0b8635432abf6a807dd5781b040a751af826254f Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 12:46:48 -0500 Subject: [PATCH 4/9] Create nuget_build_release --- .github/workflows/nuget_build_release | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/nuget_build_release diff --git a/.github/workflows/nuget_build_release b/.github/workflows/nuget_build_release new file mode 100644 index 00000000..efdc49f9 --- /dev/null +++ b/.github/workflows/nuget_build_release @@ -0,0 +1,38 @@ +name: "Publish to NuGet Gallery" + +on: + release: + types: [published] + +env: + PROJECT_PATH: ATL/ATL.csproj + PACKAGE_OUTPUT_DIRECTORY: ${{ github.workspace }}/build-output + NUGET_SOURCE_URL: "https://apiint.nugettest.org/v3/index.json" + +jobs: + publish: + name: "Publish to NuGet Gallery" + runs-on: "ubuntu-latest" + steps: + - name: "Checkout" + uses: actions/checkout@v4 + + - name: "Install Dotnet" + uses: actions/setup-dotnet@v4 + with: + dotnet-version: "8.0.x" + + - name: "Create NuGet release note file" + run: "${{ github.event.release.body }}" >> PACKAGE-RELEASE-NOTES.txt + + - name: "Restore packages" + run: dotnet restore "${{ env.PROJECT_PATH }}" + + - name: "Build project" + run: dotnet build "${{ env.PROJECT_PATH }}" --no-restore --configuration Release -p:Version=${{ github.event.release.tag_name }} -p:FileVersion=${{ github.event.release.tag_name }} + + - name: "Pack project" + run: dotnet pack "${{ env.PROJECT_PATH }}" -p:PackageVersion=${{ github.event.release.tag_name }} --no-restore --no-build --configuration Release --output "${{ env.PACKAGE_OUTPUT_DIRECTORY }}" + + - name: "Push package" + run: dotnet nuget push "${{ env.PACKAGE_OUTPUT_DIRECTORY }}/*.nupkg" --source ${{ env.NUGET_SOURCE_URL }} --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate From c602a7d8bcf45b0aecd37e0a9653f9444242d958 Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 12:53:42 -0500 Subject: [PATCH 5/9] Fixed typoo forgot file extension --- .../workflows/{nuget_build_release => nuget_build_release.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{nuget_build_release => nuget_build_release.yml} (100%) diff --git a/.github/workflows/nuget_build_release b/.github/workflows/nuget_build_release.yml similarity index 100% rename from .github/workflows/nuget_build_release rename to .github/workflows/nuget_build_release.yml From 5eaefa8ee582889a56f4ebb67bc9f2cf2d75ebfe Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 12:56:20 -0500 Subject: [PATCH 6/9] Update nuget_build_release.yml Attempt at fixing release note creation --- .github/workflows/nuget_build_release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nuget_build_release.yml b/.github/workflows/nuget_build_release.yml index efdc49f9..0caebb75 100644 --- a/.github/workflows/nuget_build_release.yml +++ b/.github/workflows/nuget_build_release.yml @@ -23,7 +23,8 @@ jobs: dotnet-version: "8.0.x" - name: "Create NuGet release note file" - run: "${{ github.event.release.body }}" >> PACKAGE-RELEASE-NOTES.txt + run: | + echo "${{ github.event.release.body }}" > PACKAGE-RELEASE-NOTES.txt - name: "Restore packages" run: dotnet restore "${{ env.PROJECT_PATH }}" From 9051de7a6a5a08b5cd2d001e2afa33d118e93a0a Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 13:07:44 -0500 Subject: [PATCH 7/9] Update ATL.csproj Forgot to enforce deterministic builds on net6.0 after revert. --- ATL/ATL.csproj | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ATL/ATL.csproj b/ATL/ATL.csproj index bf7a496c..df2230a4 100644 --- a/ATL/ATL.csproj +++ b/ATL/ATL.csproj @@ -49,6 +49,14 @@ embedded True + + embedded + True + + + embedded + True + From f3928e02a32718bb83d299be377db9c5b98bf070 Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 13:28:40 -0500 Subject: [PATCH 8/9] Update ATL.csproj Enforce embedded pdb and deterministric for every builds --- ATL/ATL.csproj | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/ATL/ATL.csproj b/ATL/ATL.csproj index df2230a4..2cda14f6 100644 --- a/ATL/ATL.csproj +++ b/ATL/ATL.csproj @@ -32,28 +32,7 @@ true - - - embedded - True - - - embedded - True - - - embedded - True - - - embedded - True - - - embedded - True - - + embedded True From 556ba7c6c7bef67ee6da396b932f6e6751682363 Mon Sep 17 00:00:00 2001 From: Med <45147847+kitsumed@users.noreply.github.com> Date: Mon, 3 Feb 2025 13:52:23 -0500 Subject: [PATCH 9/9] Update nuget_build_release.yml Changed source for production nuget index --- .github/workflows/nuget_build_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nuget_build_release.yml b/.github/workflows/nuget_build_release.yml index 0caebb75..54ddb583 100644 --- a/.github/workflows/nuget_build_release.yml +++ b/.github/workflows/nuget_build_release.yml @@ -7,7 +7,7 @@ on: env: PROJECT_PATH: ATL/ATL.csproj PACKAGE_OUTPUT_DIRECTORY: ${{ github.workspace }}/build-output - NUGET_SOURCE_URL: "https://apiint.nugettest.org/v3/index.json" + NUGET_SOURCE_URL: "https://api.nuget.org/v3/index.json" jobs: publish: