Add more debugging information to signing workflow

This commit is contained in:
David Dworken 2022-05-26 21:57:16 -07:00
parent 4c901aec85
commit b8ecb33deb
2 changed files with 5 additions and 3 deletions

View File

@ -49,9 +49,8 @@ jobs:
run: |
export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
pip3 install requests
brew install md5sha1sum
python3 scripts/actions-sign.py
echo $GITHUB_REF
export VERSION=${GITHUB_REF##*/}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')

View File

@ -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-amd64/hishtory-darwin-amd64", "hishtory-darwin-amd64")
print("sha1sum:")
print("before sha1sum:")
os.system("sha1sum hishtory-* 2>&1")
print("file:")
@ -30,6 +30,9 @@ def main():
/usr/bin/codesign --force -s 6D4E1575A0D40C370E294916A8390797106C8A6E hishtory-darwin-amd64 -v
""")
print("after sha1sum:")
os.system("sha1sum hishtory-* 2>&1")
def notAscii(fn):