From c3130a73cac4057bc58b529cb406366e55947f9f Mon Sep 17 00:00:00 2001 From: BlossomiShymae <87099578+BlossomiShymae@users.noreply.github.com> Date: Fri, 9 Aug 2024 08:18:48 -0500 Subject: [PATCH] Update --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 223f771..75f9c63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,20 +23,20 @@ jobs: run: dotnet build Needlework.Net.Desktop -c Release - name: Publish run: dotnet publish Needlework.Net.Desktop -c Release -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None -p:DebugSymbols=false -o publish -r win-x64 --self-contained=false - - name: Version - id: ver + - name: Get Version + id: version shell: powershell run: | $xml=[xml](Get-Content .\Needlework.Net.Desktop\Needlework.Net.Desktop.csproj) $ver=($xml.Project.PropertyGroup).AssemblyVersion echo "VERSION=$ver" >> $env:GITHUB_OUTPUT - - name: Zip + - name: Zip Files run: 7z a -tzip NeedleworkDotNet-win-x64.zip ./Publish/* README.md LICENSE - name: Release uses: softprops/action-gh-release@v1 with: - name: "Needlework.Net v${{ steps.ver.outputs.VERSION }}" - prerelease: true - tag_name: "${{ steps.ver.outputs.VERSION }}" + name: "Needlework.Net v${{ steps.version.outputs.VERSION }}" + prerelease: false + tag_name: "${{ steps.version.outputs.VERSION }}" files: | - Publish/NeedleworkDotNet-win-x64.zip \ No newline at end of file + NeedleworkDotNet-win-x64.zip \ No newline at end of file