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/05/17 23:21:39 UTC

[GitHub] [airflow] potiuk commented on pull request #8898: Correct generation and package generation scripts

potiuk commented on pull request #8898:
URL: https://github.com/apache/airflow/pull/8898#issuecomment-629877057


   @ashb @kaxil  -> I figured out that we have really two modes of release - one for "SVN" where we only rename the files with rc but the version inside is without the suffix, and the PyPI ones where we set version to "rc" and the package name also has "rc" as part of the name.
   
   I solved it with two switches
   * `--artifact-name-suffix rc1`-> only changes name of the .tar.gz/.whl packages - used for SVN package generation. Those are signed and cheksummed.
   
   * `--version-suffix rc1` -> adds the rc1 suffix to both -  version in metadata and binary package names. This is used to prepare packages for PyPI.
   
   I updated the docs to mention that.
   
   Note that the .tar.gz packages in SVN have also -bin.tar.gz added where the version uploaded to PyPI still keep the original .tar.gz name without -bin added. I think it's better to keep the names as generated by setup methods.


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