Skip to content

Commit fa8f3c6

Browse files
committed
update deploy doc
1 parent 9dbd692 commit fa8f3c6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/contribute.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,19 @@ We use the git workflow [Github Flow](https://guides.github.com/introduction/flo
6767
#### New feature
6868

6969
```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.
7272

7373
PHP_CS_FIXER_IGNORE_ENV=1 tools/php-cs-fixer/vendor/bin/php-cs-fixer fix # fix coding standards
7474
docker run -e "FILTER_REGEX_INCLUDE=/tmp/lint/src/.*" -e RUN_LOCAL=true -v ${PWD}:/tmp/lint github/super-linter # super linter local pass
7575
./tests-local.sh # check tests are still OK
7676
docker-compose run --rm app vendor/bin/phpdoc-md # Regenerate php doc
7777

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>
8081

82+
# Create PR
8183
gh pr create --fill
8284
```
8385

@@ -90,4 +92,3 @@ git checkout main && git pull
9092
git describe --tags `git rev-list --tags --max-count=1` # to verify what is the current tag
9193
export NEW_GIT_VERSION=v #...X.X.X
9294
./scripts/publish-release.sh
93-
```

0 commit comments

Comments
 (0)