Skip to content

Commit e3e708e

Browse files
[Update] release GH action
1 parent f13aa58 commit e3e708e

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,20 +127,18 @@ jobs:
127127
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
128128
run: dotnet nuget push ReleaseBuilds/*.nupkg -k "$NUGET_API_KEY" -s https://api.nuget.org/v3/index.json --skip-duplicate
129129

130-
- name: Publish EcoreNetto.Tools (win-x64 single-file, self-contained)
130+
- name: Publish ECoreNetto.Tools (win-x64 single-file, self-contained)
131131
run: |
132-
dotnet publish -c Release EcoreNetto.Tools/EcoreNetto.Tools.csproj \
133-
-r win-x64 --self-contained true -p:PublishSingleFile=true \
134-
-o ReleaseBuilds
132+
dotnet publish -c Release ECoreNetto.Tools/ECoreNetto.Tools.csproj -r win-x64 --self-contained true -p:PublishSingleFile=true -o ReleaseBuilds
135133
136134
- name: Append binary SHA256 to release notes
137135
run: |
138136
set -euo pipefail
139-
BIN="ReleaseBuilds/EcoreNetto.Tools.exe"
137+
BIN="ReleaseBuilds/ECoreNetto.Tools.exe"
140138
if [ -f "$BIN" ]; then
141139
HASH=$(sha256sum "$BIN" | awk '{print $1}')
142140
echo "" >> RELEASE_NOTES.md
143-
echo "\`EcoreNetto.Tools.exe\` - SHA256: $HASH" >> RELEASE_NOTES.md
141+
echo "\`ECoreNetto.Tools.exe\` - SHA256: $HASH" >> RELEASE_NOTES.md
144142
echo "Computed SHA256: $HASH"
145143
else
146144
echo "Binary $BIN not found." >&2
@@ -159,6 +157,6 @@ jobs:
159157
with:
160158
draft: true
161159
prerelease: ${{ env.PRERELEASE }}
162-
name: "EcoreNetto ${{ env.VERSION }}"
160+
name: "ECoreNetto ${{ env.VERSION }}"
163161
tag_name: ${{ env.VERSION }}
164162
body_path: RELEASE_NOTES.md

0 commit comments

Comments
 (0)