DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
The Release Candidate artefacts we vote upon should be the exact ones we vote against, without any modification than renaming – i.e. the contents of the files must be the same between voted release canidate and final release. Because of this the version in the built artefacts that will become the official Apache releases must not include the rcN suffix.
Set environment variables
.0rc1Code Block language bash theme Midnight # Set Version export VERSION=1.10
.2rc1 # Set AIRFLOW_REPO_ROOT to the path of your git repo export AIRFLOW_REPO_ROOT=$(pwd) # Example after cloning git clone https://github.com/apache/airflow.git airflow cd airflow export AIRFLOW_REPO_ROOT=$(pwd)- set your version to 1.10.0 2 in
airflow/version.py(without the RC tag) - Commit the version change.
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
Rename the sdist
Code Block language bash theme Midnight 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 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}/ svn add * svn commit -m "Add artefacts for Airflow ${VERSION}"
...