Create tag and release the tag.
Steps to make a release
Assume release version 2.0.1
- Check out the desired branch and create a tag v2.0.1 in local.
git tag -a v2.0.1 -m "create tag message"
- push tag.
git push origin V2.0.1
- go to github and view all tags
- in the row of tag v2.0.1, click three dots
- choose make a release, and give title v2.0.1
- push release
- Go to Packagist to confirm the release