This is an automated email from the ASF dual-hosted git repository.
zhoujieguang pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/dolphinscheduler-sdk-python.git
The following commit(s) were added to refs/heads/main by this push:
new 3945320 doc: Change release process (#83)
3945320 is described below
commit 3945320d02f20584876582d490509ff652470e58
Author: Jay Chung <[email protected]>
AuthorDate: Thu Mar 23 21:08:21 2023 +0800
doc: Change release process (#83)
---
RELEASE.md | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/RELEASE.md b/RELEASE.md
index 4801c10..1c241ba 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -29,7 +29,8 @@ but we also have a [PyPi](#release-to-pypi) repository for
Python package distri
* Change `version_ext` about the dolphinscheduler version current support, the
syntax is respect
[pep-044](https://peps.python.org/pep-0440/#version-specifiers)
* Run all test locally, `tox -e local-ci && tox -e local-integrate-test`,
after you start dolphinscheduler to
pass `local-integrate-test`
-* Show revert some dolphinscheduler not release commit `git revert 85a1dfaa`
+* Revert commit Apache dolphinscheduler not release yet, see [this
link](https://github.com/apache/dolphinscheduler-sdk-python/pulls?q=is%3Apr+is%3Aclosed+label%3Adep-main-repo)
+ add check whether apache/dolphinscheduler commit is released, for some
commit not release should revert the change
## Build and Sign Package
@@ -208,12 +209,10 @@ Vote result should follow these:
TestPyPi is a test environment of PyPi, you could release to it to test
whether the package is work or not.
-1. Create an account in [TestPyPi](https://test.pypi.org/account/register/).
-2. Clean unrelated files in `dist` directory, and build package `python3
setup.py clean`.
-3. Build package `python3 -m build`, and you will see two new files in `dist`
directory, with extension
- `.tar.gz` and `.whl`.
-4. Upload to TestPyPi `python3 -m twine upload --repository testpypi dist/*`.
-5. Check the package in
[TestPyPi](https://test.pypi.org/project/apache-dolphinscheduler/) and install
it
+1. (Optional) Create an account in
[TestPyPi](https://test.pypi.org/account/register/), only need for first
release.
+2. Clean `dist` directory and build `python3 setup.py clean && python3 -m
build`.
+3. Upload to TestPyPi `python3 -m twine upload --repository testpypi dist/*`.
+4. Check the package in
[TestPyPi](https://test.pypi.org/project/apache-dolphinscheduler/) and install
it
by `python3 -m pip install --index-url https://test.pypi.org/simple/
--no-deps apache-dolphinscheduler` to
test whether it is work or not.
@@ -222,10 +221,8 @@ TestPyPi is a test environment of PyPi, you could release
to it to test whether
PyPi is the official repository of Python packages, it is highly recommended
[releasing package to TestPyPi](#release-to-testpypi)
first to test whether the package is correct.
-1. Create an account in [PyPI](https://pypi.org/account/register/).
-2. Clean unrelated files in `dist` directory, and build package `python3
setup.py clean`.
-3. Build package `python3 -m build`, and you will see two new files in `dist`
directory, with extension
- `.tar.gz` and `.whl`.
-4. Upload to TestPyPi `python3 -m twine upload dist/*`.
-5. Check the package in
[PyPi](https://pypi.org/project/apache-dolphinscheduler/) and install it
+1. (Optional) Create an account in [PyPI](https://pypi.org/account/register/),
only need for first release.
+2. Clean `dist` directory and build `python3 setup.py clean && python3 -m
build`.
+3. Upload to TestPyPi `python3 -m twine upload dist/*`.
+4. Check the package in
[PyPi](https://pypi.org/project/apache-dolphinscheduler/) and install it
by `python3 -m pip install apache-dolphinscheduler` to install it.