File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -67,17 +67,19 @@ We use the git workflow [Github Flow](https://guides.github.com/introduction/flo
67
67
#### New feature
68
68
69
69
``` bash
70
- git checkout -b < basic -name> # the name is not important now, you can type "new-features"
71
- git commit # as mush as necessary.
70
+ git checkout -b < branch -name>
71
+ git commit # as much as necessary.
72
72
73
73
PHP_CS_FIXER_IGNORE_ENV=1 tools/php-cs-fixer/vendor/bin/php-cs-fixer fix # fix coding standards
74
74
docker run -e " FILTER_REGEX_INCLUDE=/tmp/lint/src/.*" -e RUN_LOCAL=true -v ${PWD} :/tmp/lint github/super-linter # super linter local pass
75
75
./tests-local.sh # check tests are still OK
76
76
docker-compose run --rm app vendor/bin/phpdoc-md # Regenerate php doc
77
77
78
- git branch -m < name-of-the-branch> # to rename the branch to what has really be done.
79
- git push origin :< basic-name> && git push origin < name-of-the-branch> # Only if already pushed
78
+ # Rename branch if necessary
79
+ git branch -m < new-name>
80
+ git push origin :< old-name> && git push origin < new-name>
80
81
82
+ # Create PR
81
83
gh pr create --fill
82
84
```
83
85
@@ -90,4 +92,3 @@ git checkout main && git pull
90
92
git describe --tags ` git rev-list --tags --max-count=1` # to verify what is the current tag
91
93
export NEW_GIT_VERSION=v # ...X.X.X
92
94
./scripts/publish-release.sh
93
- ```
You can’t perform that action at this time.
0 commit comments