#!/usr/bin/env sh
curl -fsSL \
    -H"Content-Type: application/json" \
    -d'{"repository":{"url":"'$CI_PROJECT_URL'.git"}}' \
    "https://packagist.org/api/update-package?username=$PACKAGIST_USERNAME&apiToken=$PACKAGIST_TOKEN"
