Skip to content

Commit 891a335

Browse files
authored
Update dotnet-desktop.yml
1 parent a2b7652 commit 891a335

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Get Next Version and Create Tag
4343
id: get_version
44-
shell: bash # Use bash for git commands
44+
shell: bash
4545
run: |
4646
# Get the highest existing tag (if any)
4747
latestTag=$(git describe --tags --abbrev=0 --match "v*" 2>/dev/null)
@@ -70,19 +70,8 @@ jobs:
7070
7171
echo "NUGET_VERSION=$nextVersion" >> "$GITHUB_OUTPUT"
7272
73-
- name: Get Release Notes (from releasenotes.md)
74-
id: get_release_notes
75-
shell: bash
76-
run: |
77-
releaseNotes=$(cat ParseLiveQuery/docs/ReleaseNotes.md) # Corrected path
78-
echo "RELEASE_NOTES<<EOF" >> "$GITHUB_OUTPUT"
79-
echo "$releaseNotes" >> "$GITHUB_OUTPUT"
80-
echo "EOF" >> "$GITHUB_OUTPUT"
81-
8273
- name: Pack NuGet package
83-
run: |
84-
release_notes_escaped=$(sed -e 's/["\$`\\]/\\&/g' <<< "${{ steps.get_release_notes.outputs.RELEASE_NOTES }}")
85-
dotnet pack --configuration Release -o . /p:Version=${{ steps.get_version.outputs.NUGET_VERSION }} /p:PackageReleaseNotes="$release_notes_escaped"
74+
run: dotnet pack --configuration Release -o . /p:Version=${{ steps.get_version.outputs.NUGET_VERSION }}
8675

8776
- name: Push NuGet package to NuGet.org
8877
run: dotnet nuget push "*.nupkg" --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
@@ -95,6 +84,6 @@ jobs:
9584
with:
9685
tag_name: v${{ steps.get_version.outputs.NUGET_VERSION }}
9786
release_name: Release v${{ steps.get_version.outputs.NUGET_VERSION }}
98-
body: ${{ steps.get_release_notes.outputs.RELEASE_NOTES }}
87+
body: "" # Empty body - no release notes
9988
draft: false
10089
prerelease: false

0 commit comments

Comments
 (0)