Thursday, 28 November 2024

How to release PHP package from github

Create tag and release the tag.

How to list and create a tag

Steps to make a release

Assume release version 2.0.1

  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"
  2. push tag.
    git push origin V2.0.1
  3. go to github and view all tags
  4. in the row of tag v2.0.1, click three dots
  5. choose make a release, and give title v2.0.1
  6. push release
  7. Go to Packagist to confirm the release

No comments:

Post a Comment