mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 17:06:42 +00:00
Update CONTRIBUTING.md
This commit is contained in:
parent
6af0749df8
commit
197ccc0b12
@ -92,3 +92,23 @@ You can simply [Run One App That Linked To Source Code](#run-one-app-that-linked
|
||||
### Publish
|
||||
|
||||
After passing the test of Creator Code, you should release a new version for both the packages in the '/packages' folder and the package named 'steedos-server' in the '/server' folder, so that to unify all of the packages version numbers.
|
||||
|
||||
- Commit and submit the code in the '/server' folder that built by [Build Creator](#build-creator) to Github.
|
||||
- Enter to the root path of this repository on command line.
|
||||
- Run the shell `yarn ver` on command line, and select the version number.
|
||||
- Run the shell `yarn pubBefore_push_submodules` on command line, you can see [.git_push.js](.scripts/.git_push.js) about this command.
|
||||
|
||||
> When the platform vesion is '<= 1.22', this command is invalid, as an alternative, you should cd to the 'apps' folder, and run the shell bellow in all the project folder one by one.
|
||||
|
||||
```shell
|
||||
git add .
|
||||
/*Replace '${versionInfo.version}' to the version number that you want publish to.*/
|
||||
git commit -m v${versionInfo.version}
|
||||
git push
|
||||
```
|
||||
|
||||
- Modify the version number in the file 'package.template.json' in the folder 'packages\project-template-empty'.
|
||||
- Confirm the 'last line sequence' of the file ‘packages\create-steedos-app\index.js’ is LF.
|
||||
- Commit and submit the code to Github.
|
||||
- Run the shell `yarn pub` to publish, or the shell `yarn pub_next` for a beta version.
|
||||
- After release, you can run the shell `yarn syncToTaoBao` for synchronization of Taobao source.
|
||||
|
Loading…
Reference in New Issue
Block a user