rename sha file to match tar file #123
This commit is contained in:
parent
188b9c432f
commit
91ae0c4d67
@ -50,8 +50,8 @@ if [ "$TRAVIS" = "true" ]; then
|
|||||||
|
|
||||||
echo "uploading to s3"
|
echo "uploading to s3"
|
||||||
cd /tmp/
|
cd /tmp/
|
||||||
sha256sum $TAR_NAME > "$FILE_NAME.sha256"
|
sha256sum $TAR_NAME > "$TAR_NAME.sha256"
|
||||||
artifacts upload --target-paths "/" $TAR_NAME $TRAVIS_BUILD_DIR/VERSION $FILE_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
|
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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user