mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 03:47:54 +02:00
Add more debugging information to signing workflow
This commit is contained in:
parent
4c901aec85
commit
b8ecb33deb
3
.github/workflows/slsa-releaser.yml
vendored
3
.github/workflows/slsa-releaser.yml
vendored
@ -49,9 +49,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
|
export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
|
||||||
pip3 install requests
|
pip3 install requests
|
||||||
|
brew install md5sha1sum
|
||||||
python3 scripts/actions-sign.py
|
python3 scripts/actions-sign.py
|
||||||
echo $GITHUB_REF
|
|
||||||
export VERSION=${GITHUB_REF##*/}
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
@ -9,7 +9,7 @@ def main():
|
|||||||
waitUntilPublished(f"https://github.com/ddworken/hishtory/releases/download/{version}-darwin-arm64/hishtory-darwin-arm64", "hishtory-darwin-arm64")
|
waitUntilPublished(f"https://github.com/ddworken/hishtory/releases/download/{version}-darwin-arm64/hishtory-darwin-arm64", "hishtory-darwin-arm64")
|
||||||
waitUntilPublished(f"https://github.com/ddworken/hishtory/releases/download/{version}-darwin-amd64/hishtory-darwin-amd64", "hishtory-darwin-amd64")
|
waitUntilPublished(f"https://github.com/ddworken/hishtory/releases/download/{version}-darwin-amd64/hishtory-darwin-amd64", "hishtory-darwin-amd64")
|
||||||
|
|
||||||
print("sha1sum:")
|
print("before sha1sum:")
|
||||||
os.system("sha1sum hishtory-* 2>&1")
|
os.system("sha1sum hishtory-* 2>&1")
|
||||||
|
|
||||||
print("file:")
|
print("file:")
|
||||||
@ -30,6 +30,9 @@ def main():
|
|||||||
/usr/bin/codesign --force -s 6D4E1575A0D40C370E294916A8390797106C8A6E hishtory-darwin-amd64 -v
|
/usr/bin/codesign --force -s 6D4E1575A0D40C370E294916A8390797106C8A6E hishtory-darwin-amd64 -v
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
print("after sha1sum:")
|
||||||
|
os.system("sha1sum hishtory-* 2>&1")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def notAscii(fn):
|
def notAscii(fn):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user