DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
Tag your release
Code Block language bash theme RDark git tag ${VERSION}Clean the checkout: the sdist step below will
Code Block language bash theme RDark git clean -fxd
Tarball the repo
Code Block language bash theme RDark git archive --format=tar.gz ${VERSION} --prefix=apache-airflow-${VERSION}/ -o apache-airflow-${VERSION}-source.tar.gzGenerate sdist
NOTE: Make sure your checkout is clean at this stage - any untracked or changed files will otherwise be included in the file produced.Code Block language bash theme RDark python setup.py compile_assets sdist
Rename the sdist
Code Block language bash theme RDark mv dist/apache-airflow-${VERSION%rc?}.tar.gz apache-airflow-${VERSION}-bin.tar.gzGenerate SHA512/ASC (If you have not generated a key yet, generate it by following instructions on http://www.apache.org/dev/openpgp.html#key-gen-generate-key)
</path to airflow source>/dev/sign.sh apache-airflow-${VERSION}-source.tar.gz && </path to airflow source>/dev/sign.sh apache-airflow-${VERSION}-bin.tar.gzPush Tags
Code Block language bash theme RDark git push --tags
Push the artefacts to ASF dev dist repo
Code Block language bash theme RDark # First clone the repo svn checkout https://dist.apache.org/repos/dist/dev/airflow airflow-dev # Create new folder for the release cd airflow-dev svn mkdir ${VERSION} # Move the artefacts to svn folder & commit mv AIRFLOW_REPO_ROOT/apache-airflow-${VERSION}* airflow-dev/${VERSION}/ svn add * svn commit -m "Add artefacts for Airflow ${VERSION}"
PyPI Snapshots (Optional)
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
airflow/version.pyto include the RC suffix. python setup.py compile_assets sdist- Follow the steps in Releasing Airflow
- Throw away the change - we don't want to commit this:
git checkout airflow/version.py
It is important to stress that this snapshot is not intended for users.
Make sure your public key is on id.apache.org and in KEYS
...