From 91ae0c4d67587fd6f81320a9449eaf38ee07437d Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 20 Jan 2018 09:11:53 -0500 Subject: [PATCH] rename sha file to match tar file #123 --- .travis/deploy_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 9e7bccc1..023ddc73 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -50,8 +50,8 @@ if [ "$TRAVIS" = "true" ]; then echo "uploading to s3" cd /tmp/ - sha256sum $TAR_NAME > "$FILE_NAME.sha256" - artifacts upload --target-paths "/" $TAR_NAME $TRAVIS_BUILD_DIR/VERSION $FILE_NAME.sha256 + sha256sum $TAR_NAME > "$TAR_NAME.sha256" + artifacts upload --target-paths "/" $TAR_NAME $TRAVIS_BUILD_DIR/VERSION $TAR_NAME.sha256 curl -X POST --data "{\"content\": \"A new build is available at http://downloads.phpvms.net/$TAR_NAME ($VERSION)\"}" -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL fi