mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-25 17:53:24 +01:00
Export the unsigned files for a new theory on how SLSA verification can be done
This commit is contained in:
parent
372e3a8f44
commit
ea6be650ba
2
.github/workflows/slsa-releaser.yml
vendored
2
.github/workflows/slsa-releaser.yml
vendored
@ -55,11 +55,11 @@ jobs:
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
# TODO: stop releasing the unsigned files
|
||||
files: |
|
||||
hishtory-darwin-arm64
|
||||
hishtory-darwin-arm64-unsigned
|
||||
hishtory-darwin-amd64
|
||||
hishtory-darwin-amd64-unsigned
|
||||
|
||||
# Upload to GitHub release.
|
||||
upload:
|
||||
|
@ -21,6 +21,7 @@ def main():
|
||||
print("signing...")
|
||||
os.system("""
|
||||
cp hishtory-darwin-arm64 hishtory-darwin-arm64-unsigned
|
||||
cp hishtory-darwin-amd64 hishtory-darwin-amd64-unsigned
|
||||
echo $MACOS_CERTIFICATE | base64 -d > certificate.p12
|
||||
security create-keychain -p $MACOS_CERTIFICATE_PWD build.keychain
|
||||
security default-keychain -s build.keychain
|
||||
|
Loading…
Reference in New Issue
Block a user