How to release a new version of Apache Flink You need to have the following environment variables set: export OLD_VERSION=0.6-SNAPSHOT export NEW_VERSION=0.6 export GPG_KEY=XX export GPG_PASSPHRASE=XX ./prepare_release_files.sh