File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ All notable changes to this project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6+ and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7+
8+ ## Releases
9+
10+ ### [ 0.1.0] - 2023-01-01
11+
12+ * Initial release
13+ * Add src
14+ * Add tests
15+ * PHP Coding Standards Fixer
16+ * PHPMND - PHP Magic Number Detector
17+ * PHPStan - PHP Static Analysis Tool
18+ * PHPUnit - The PHP Testing Framework
19+ * Rector - Instant Upgrades and Automated Refactoring
20+ * Add README.md
21+ * Add LICENSE.md
22+ * Docker environment
23+ * Composer requirements
24+
25+ ## Add new version
26+
27+ ``` bash
28+ # Checkout master branch
29+ $ git checkout main && git pull
30+
31+ # Check current version
32+ $ vendor/bin/version-manager --current
33+
34+ # Increase patch version
35+ $ vendor/bin/version-manager --patch
36+
37+ # Change changelog
38+ $ vi CHANGELOG.md
39+
40+ # Push new version
41+ $ git add CHANGELOG.md VERSION && git commit -m " Add version $( cat VERSION) " && git push
42+
43+ # Tag and push new version
44+ $ git tag -a " $( cat VERSION) " -m " Version $( cat VERSION) " && git push origin " $( cat VERSION) "
45+ ```
You can’t perform that action at this time.
0 commit comments