ashb commented on pull request #8898: URL: https://github.com/apache/airflow/pull/8898#issuecomment-630095741
> @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. Yes, as documented (albeit not clearly) https://cwiki.apache.org/confluence/display/AIRFLOW/Releasing+Airflow#ReleasingAirflow-PyPISnapshots(Optional).1 > > 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. I would probably suggest we make this less error-prone, by doing `--rc-for-pypi` and have it do the right things ---------------------------------------------------------------- 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: [email protected]
