mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Generate SHA256 hashes.
This commit is contained in:
Vendored
+6
@@ -13,5 +13,11 @@ pipeline {
|
||||
archiveArtifacts artifacts: 'release/*.zip'
|
||||
}
|
||||
}
|
||||
stage('Generate checksums') {
|
||||
steps {
|
||||
sh 'Tools/generate_hashes.ps1'
|
||||
archiveArtifacts artifacts: 'release/*.zip.sha256'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
Get-ChildItem release/*.zip | Get-FileHash -Algorithm S | ForEach-Object {
|
||||
$_.Hash > "$($_.Path).sha256";
|
||||
}
|
||||
Reference in New Issue
Block a user