3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-03 16:48:06 +00:00

Restrict SHA256 hash generation to source code archives only

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-07-11 16:23:40 +00:00
parent 62fa8cc12f
commit 6d1baffe16
2 changed files with 17 additions and 15 deletions

View file

@ -454,13 +454,13 @@ stages:
targetPath: tmp
- script: |
cd tmp
for file in *.zip; do
if [ -f "$file" ]; then
for file in z3-*.zip; do
if [ -f "$file" ] && [[ "$file" == *"$(Build.SourceVersion)"* ]]; then
sha256sum "$file" > "$file.sha256"
echo "Generated SHA256 for $file"
echo "Generated SHA256 for source code archive: $file"
fi
done
displayName: 'Generate SHA256 hashes for ZIP files'
displayName: 'Generate SHA256 hashes for source code archives'
- task: GitHubRelease@1
continueOnError: true
inputs: