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 committed 2019-08-09 08:44:35 +08:00
1 parent 0fd02a3e42
commit f140390e42
1 file changed
+1
+1
View File
@@ -67,6 +67,7 @@ before_deploy:
- echo "$SSHWIFTY_VERSION" > ./deploy_title - 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 - echo "ghr -u \"\$(cat ./deploy_user)\" -b \"\$(cat ./.tmp/deploy/Note)\" -delete -prerelease \"\$(cat ./deploy_title)\" ./.tmp/deploy" > ./deploy.sh
- chmod +x ./deploy.sh - chmod +x ./deploy.sh
- cat ./.tmp/deploy/SUM.sha512
deploy: deploy:
provider: script provider: script