Travis should printout the hash of files which generated during building. This way we can verify whether or not the deployed file is actually generated by Travis CI.

This commit is contained in:
NI
2019-08-09 08:44:35 +08:00
parent 0fd02a3e42
commit f140390e42

View File

@@ -67,6 +67,7 @@ before_deploy:
- echo "$SSHWIFTY_VERSION" > ./deploy_title
- echo "ghr -u \"\$(cat ./deploy_user)\" -b \"\$(cat ./.tmp/deploy/Note)\" -delete -prerelease \"\$(cat ./deploy_title)\" ./.tmp/deploy" > ./deploy.sh
- chmod +x ./deploy.sh
- cat ./.tmp/deploy/SUM.sha512
deploy:
provider: script