File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,6 +127,26 @@ 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)
131+ run : |
132+ dotnet publish -c Release EcoreNetto.Tools/EcoreNetto.Tools.csproj \
133+ -r win-x64 --self-contained true -p:PublishSingleFile=true \
134+ -o ReleaseBuilds
135+
136+ - name : Append binary SHA256 to release notes
137+ run : |
138+ set -euo pipefail
139+ BIN="ReleaseBuilds/EcoreNetto.Tools.exe"
140+ if [ -f "$BIN" ]; then
141+ HASH=$(sha256sum "$BIN" | awk '{print $1}')
142+ echo "" >> RELEASE_NOTES.md
143+ echo "\`EcoreNetto.Tools.exe\` - SHA256: $HASH" >> RELEASE_NOTES.md
144+ echo "Computed SHA256: $HASH"
145+ else
146+ echo "Binary $BIN not found." >&2
147+ exit 1
148+ fi
149+
130150 - name : Create annotated tag at this commit
131151 run : |
132152 git tag -a "${VERSION}" -m "Release ${VERSION}"
You can’t perform that action at this time.
0 commit comments