Packagist learns about a new version from the tag and fetches the code from GitHub. Nothing is uploaded, so there is no publish workflow and no credentials.
-
Update
$SEGMENT_VERSIONinlib/Version.php. -
In
HISTORY.md, change theUnreleasedheading toX.Y.Z / YYYY-MM-DD. -
Open a PR and merge it to
master. -
Tag the merged commit — no
vprefix:git tag X.Y.Z && git push origin X.Y.Z -
Confirm at https://packagist.org/packages/segmentio/analytics-php