DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
Committers should use the following commands and steps to create an Apache Airflow release:
Run dev/airflow-jira on the test branchdev/airflow-jira compare 1.8.1Commit RCs heresvn co https://dist.apache.org/repos/dist/dev/incubator/airflowMake sure CHANGELOG and UPDATING.md have been updated.Remove previous versions from https://dist.apache.org/repos/dist/dev/incubator/airflow (`svn rm` -> `svn commit`)Run a travis build, confirm it passes (duh.)Build airflowpython setup.py sdistGenerate MD5gpg --print-md MD5 apache-airflow-1.8.1rc0+apache.incubating.tar.gz > apache-airflow-1.8.1rc0+apache.incubating.tar.gz.md5Generate the SHA512gpg --print-md SHA512 apache-airflow-1.8.1rc0+apache.incubating.tar.gz > apache-airflow-1.8.1rc0+apache.incubating.tar.gz.shaUpload your GPG public key to https://pgp.mit.eduAdd your GPG pub key to https://dist.apache.org/repos/dist/release/incubator/airflow/KEYS , follow the instructions at the top of the fileSign Airflow tar.gzgpg --armor --output apache-airflow-1.8.1rc0+apache.incubating.tar.gz.asc --detach-sig apache-airflow-1.8.1rc0+apache.incubating.tar.gzDo votes in dev@airflow.incubator.apache.org and general@incubator.apache.orghttps://mail-archives.apache.org/mod_mbox/incubator-airflow-dev/201705.mbox/%3CCABYbY7eZk2SYHs3ni31h94uwwRdcn4dkJwumYtUMsfFLq-gwjg%40mail.gmail.com%3Ehttps://mail-archives.apache.org/mod_mbox/incubator-general/201705.mbox/%3CCABYbY7cnACrrsrFtdwtq_-4AokMAe8CBOcWSvNz%2BhgB9DfVEvQ%40mail.gmail.com%3ECommit final release heresvn co https://dist.apache.org/repos/dist/release/incubator/airflowMerge the test branch into the stable branchgit pull apache v1-8-testgit pull apache v1-8-stablegit co v1-8-stablegit merge v1-8-testgit tag 1.8.1git push apache v1-8-stablegit push apache 1.8.1Follow these instructions to publish to PyPiNote: You must remove the +incubating from the airflow/version.py file.
Source releases
set your version to 1.8.2 in airflow/version.py
tag your release `git tag 1.8.2rc3`
`git clean -f`- target is something like https://dist.apache.org/repos/dist/dev/incubator/airflow/1.8.2rc4/
(can be done with `svn co https://dist.apache.org/repos/dist/dev/incubator/airflow/`) - # tarball the repo
git archive --format=tar 1.8.2rc3 | gzip > apache-airflow-1.8.2rc3+incubating-source.tar.gz - generate sdist
python setup.py sdist - Generate MD5/SHA512/ASC
</path to airflow source>/dev/sign.sh apache-airflow-1.9.0alpha0+incubating-source.tar.gz Generate MD5sgpg --print-md MD5 apache-airflow-1.8.1rc0+apache.incubating.tar.gz > apache-airflow-1.8.1rc0+apache.incubating.tar.gz.md5Generate the SHA512gpg --print-md SHA512 apache-airflow-1.8.1rc0+apache.incubating.tar.gz > apache-airflow-1.8.1rc0+apache.incubating.tar.gz.shaUpload your GPG public key to https://pgp.mit.eduAdd your GPG pub key to https://dist.apache.org/repos/dist/release/incubator/airflow/KEYS , follow the instructions at the top of the fileSign Airflow tar.gzgpg --armor --output apache-airflow-1.8.1rc0+apache.incubating.tar.gz.asc --detach-sig apache-airflow-1.8.1rc0+apache.incubating.tar.gz
Create a ~/.pypirc file:
$ cat ~/.pypirc [distutils] index-servers = pypi pypitest [pypi] username=your-username password=********* [pypitest] repository=https://test.pypi.org/legacy/ username=your-username password=*********
(more details here.)
Set proper permissions for the pypirc file:
$ chmod 600 ~/.pypirc
- Confirm that airflow/version.py is set properly.
Install the package in PyPi's test environment:
$ python setup.py sdist upload -r pypitest
- Verify that the test package looks good by downloading it and installing it into a virtual environment. The package download link is available at:
https://test.pypi.org/project/apache-airflow/#files Install the package in PyPi's production environment:
$ python setup.py sdist upload -r pypi
- Again, confirm that the package is available here:
https://pypi.python.org/pypi/apache-airflow
Updating CHANGELOG.md:
Get a diff between the last version and the current version:
$ git log 1.8.0..1.9.0 --pretty=oneline
- Update CHANGELOG.md with the details, and commit it.
Publishing documentation:
- Follow instructions on Building and deploying the docs