You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/11 17:24:22 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #13020: Simplify release process for PyPI snapshots

potiuk commented on a change in pull request #13020:
URL: https://github.com/apache/airflow/pull/13020#discussion_r541105887



##########
File path: dev/README_RELEASE_AIRFLOW.md
##########
@@ -148,12 +148,10 @@ svn commit -m "Add artifacts for Airflow ${VERSION}"
 At this point we have the artefact that we vote on, but as a convenience to developers we also want to
 publish "snapshots" of the RC builds to pypi for installing via pip. To do this we need to
 
-- Edit the `setup.py` to include the RC suffix.
-
 - Build the package:
 
     ```shell script
-    python setup.py compile_assets sdist bdist_wheel
+    python setup.py compile_assets egg_info --tag-build "$(sed -e "s/^[0-9.]*//" <<<"$VERSION")" sdist bdist_wheel

Review comment:
       Nice. I might use it in the providers packages as well and get rid of the setup.py "if" I have there.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org