Skip to content

Commit

Permalink
docs: add publishing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
recanman committed May 25, 2024
1 parent 69b9a6f commit abf0811
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions PUBLISHING.md
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.

0 comments on commit abf0811

Please sign in to comment.