From 1ff6af7af305c9a2756b04a98deb63d42b0dff04 Mon Sep 17 00:00:00 2001 From: Opportunity Date: Fri, 16 Jul 2021 11:01:05 +0800 Subject: [PATCH] add a contiubuting guide --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index ffed6af..4032f3b 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,26 @@ uses: xmake-io/github-action-setup-xmake@v1 with: xmake-version: '>=2.2.6 <=2.5.3' ``` + +## Contributing + +### Prepare development environment + +```bash +yarn init +``` + +### Draft a new release + +```bash +yarn release +git add . +yarn version + +# for a minor version or patch of v1 +git tag --delete v1 +git tag v1 + +git push origin master +git push --tags --force +``` \ No newline at end of file