Skip to content

Commit 4ae90e6

Browse files
committed
Update README.md
1 parent c327211 commit 4ae90e6

File tree

1 file changed

+8
-21
lines changed

1 file changed

+8
-21
lines changed

README.md

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -578,30 +578,17 @@ TEST_NODE_PARITY=1 make test-all
578578
579579
CI opts-into `TEST_NODE_PARITY=1`, and you can optionally do this locally as well.
580580
581-
### Versioning
582-
583-
This project implements the Semantic Versioning guidelines.
584-
585-
Releases will be numbered with the following format:
586-
587-
`<major>.<minor>.<patch>`
588-
589-
And constructed with the following guidelines:
590-
591-
- Breaking backward compatibility bumps the major (and resets the minor and patch)
592-
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
593-
- Bug fixes and misc changes bumps the patch
581+
### Releasing a new version
594582
595-
For more information on SemVer, please visit http://semver.org/.
583+
To release, say `3.2.0` [Packagist](https://packagist.org/packages/transloadit/php-sdk), follow these steps:
596584
597-
### Releasing a new version
585+
1. Make sure `PACKAGIST_TOKEN` is set in your `.env` file
586+
1. Make sure you are in main: `git checkout main`
587+
1. Update `CHANGELOG.md` and `composer.json`
588+
1. Commit: `git add CHANGELOG.md composer.json && git commit -m "Release 3.2.0"`
589+
1. Tag, push, and release: `source env.sh && VERSION=3.2.0 ./release.sh`
598590
599-
```bash
600-
# 1. update CHANGELOG.md
601-
# 2. update composer.json
602-
# 3. commit all your work
603-
source env.sh && VERSION=3.1.0 ./release.sh
604-
```
591+
This project implements the [Semantic Versioning](http://semver.org/) guidelines.
605592
606593
## License
607594

0 commit comments

Comments
 (0)