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:
parent
62fa8cc12f
commit
6d1baffe16
2 changed files with 17 additions and 15 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue