Skip to content

Commit 8ffe9b7

Browse files
author
Piotr Stachaczynski
committed
feat: fix pipe
1 parent 9404de3 commit 8ffe9b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# Create a tag using today's date
4646
TAG_NAME="v$(date +'%Y.%m.%d')"
4747
# Get the NuGet package file name from the artifacts folder and remove its extension for the release title
48-
NUPKG_FILE=$(basename $(ls ./artifacts/*.nupkg))
48+
NUPKG_FILE=$(basename $(find ./artifacts -name "*.nupkg" | head -n1))
4949
RELEASE_NAME="${NUPKG_FILE%.*}"
5050
# Get the newest markdown file from the Releases folder and read its content as release notes
5151
NEWEST_NOTES=$(ls -t Releases/*.md | head -n1)

0 commit comments

Comments
 (0)