-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Publishing a release | ||
|
||
This document describes the process of publishing a new version of the package. | ||
|
||
1. Update the version in the `composer.json` file. | ||
2. Commit the changes. | ||
- ```bash | ||
git commit -m "chore(release): release v<version>" | ||
``` | ||
|
||
Where `<version>` is the new version number (e.g. `1.2.3`). | ||
3. Create a new tag. | ||
- ```bash | ||
git tag v<version> | ||
``` | ||
|
||
Where `<version>` is the new version number (e.g. `1.2.3`). | ||
4. Push the changes. | ||
- ```bash | ||
git push origin master --tags | ||
``` | ||
|
||
A release will automatically be created. |