Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • tag your release

    git tag ${VERSION}

  • Clean the checkout: the sdist step below will
    git clean -fxd

  • # tarball the repo
    git archive --format=tar.gz ${VERSION} --prefix=apache-airflow-${VERSION}/ -o apache-airflow-${VERSION}-source.tar.gz
  • generate sdist
    NOTE: Make sure your checkout is clean at this stage - any untracked or changed files will otherwise be included in the file produced.
    python setup.py compile_assets sdist
  • Rename the sdist

    mv dist/apache-airflow-${VERSION%rc?}.tar.gz apache-airflow-${VERSION}-bin.tar.gz

  • Generate 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.gz

  • git push --tags
  • Upload your GPG public key to https://pgp.mit.edu .Add your GPG pub key to https://dist.apache.org/repos/dist/release/airflow/KEYS , follow the instructions at the top of that file.

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

...