Skip to content

Commit

Permalink
Refine digest file
Browse files Browse the repository at this point in the history
Co-Authored-By: CN_SZTL <22235437+1715173329@users.noreply.github.com>
  • Loading branch information
2 people authored and JimhHan committed Mar 2, 2021
1 parent e9ea658 commit 97fcd6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ jobs:
COREDGST=$CORE.dgst
for METHOD in {"md5","sha1","sha256","sha512"}
do
openssl dgst -$METHOD $CORE | sed 's/([^)]*)//g' >>$COREDGST
openssl dgst -$METHOD $CORE | sed 's/([^)]*)//g' | tr -d ' ' >>$COREDGST
done
done
popd || exit 1
FILE=./Xray-$ASSET_NAME.zip
DGST=$FILE.dgst
for METHOD in {"md5","sha1","sha256","sha512"}
do
openssl dgst -$METHOD $FILE | sed 's/([^)]*)//g' >>$DGST
openssl dgst -$METHOD $FILE | sed 's/([^)]*)//g' | tr -d ' ' >>$DGST
done
- name: Change the name
Expand Down

0 comments on commit 97fcd6f

Please sign in to comment.