DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
Tag your release
Code Block language bash theme Midnight git tag ${VERSION}Clean the checkout: the sdist step below will
Code Block language bash theme Midnight git clean -fxd
Tarball the repo
Code Block language bash theme Midnight 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 Midnight python setup.py compile_assets sdist bdist_wheelRename the sdist
Code Block language bash theme Midnight mv dist/apache-airflow-${VERSION%rc?}.tar.gz apache-airflow-${VERSION}-bin.tar.gz mv dist/apache_airflow-${VERSION%rc?}-py2.py3-none-any.whl apache_airflow-${VERSION}-py2.py3-none-any.whlGenerate 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)
Code Block language bash theme Midnight ${AIRFLOW_REPO_ROOT}/dev/sign.sh apache-airflow-${VERSION}-source.tar.gz && ${AIRFLOW_REPO_ROOT}/dev/sign.sh apache-airflow-${VERSION}-bin.tar.gz ${AIRFLOW_REPO_ROOT}/dev/sign.sh apache_airflow-${VERSION}-py2.py3-none-any.whlPush Tags
Code Block language bash theme Midnight git push --tags
Push the artefacts to ASF dev dist repo
Code Block language bash theme Midnight # 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}/ cd ${VERSION} svn add * svn commit -m "Add artefacts for Airflow ${VERSION}"
...
- Edit the
airflow/version.pyto include the RC suffix. python setup.py compile_assets sdist bdist_wheel- Follow the steps in Releasing Airflow
- Throw away the change - we don't want to commit this:
git checkout airflow/version.py
...
Create a ~/.pypirc file:
Code Block language bash $ 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:
Code Block language bash $ chmod 600 ~/.pypirc
- Confirm that airflow/version.py is set properly.
Install the package in PyPi's test environment:
Code Block language bash theme Midnight python setup.py compile_assets sdist bdist_wheel 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:
Code Block language bash theme Midnight python setup.py compile_assets sdist bdist_wheel upload -r pypiAgain, confirm that the package is available here:
https://pypi.python.org/pypi/apache-airflow
...
Get a diff between the last version and the current version:
Code Block language bash $ git log 1.8.0..1.9.0 --pretty=oneline
- Update CHANGELOG.md with the details, and commit it.
Notifying developers of release
Notify dev@airflow.apache.org that the artifacts have been published:
Code Block title Airflow 1.10.2 is released collapse true Dear Airflow community, I'm happy to announce that Airflow 1.10.2 was just released. The source release, as well as the binary "sdist" release, are available here: https://dist.apache.org/repos/dist/release/airflow/1.10.2/ We also made this version available on PyPi for convenience (`pip install apache-airflow`): https://pypi.python.org/pypi/apache-airflow The documentation is available on: https://airflow.apache.org/ https://airflow.apache.org/1.10.2/ https://airflow.readthedocs.io/en/1.10.2/ https://airflow.readthedocs.io/en/stable/ Find the CHANGELOG here for more details: https://airflow.apache.org/changelog.html#airflow-1-10-2-2019-01-19 Cheers, <your name>
Update the Announce page on the wiki
Publishing documentation
- Follow instructions on Building and deploying the docs
Bulk migrate JIRAs
- Create a release in Jira, and mark as released:
https://issues.apache.org/jira/projects/AIRFLOW?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page&status=released-unreleased
If it gives you the option to move un-resolved issues then move them to the next unreleased version of Airflow
- Otherwise go to the Apache JIRA, and filter for all open/in progress JIRAs for the version that you just released:
https://issues.apache.org/jira/issues/?jql=project%20%3D%20AIRFLOW%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20fixVersion%20%3D%201.9.0 - Do a bulk edit to migrate the fix version to the next unreleased version of Airflow.
Old stuff that doesn't apply anymore
| Expand | ||
|---|---|---|
| ||
Source releases:
|