Versions Compared

Key

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

...

Info

This is based on the release guide of the Apache Beam project: https://beam.apache.org/contribute/release-guide/

Change release type:

Builder Show
flagversion_switch


version_switchfalsepage


Major Release



Builder Show
notflagversion_switch


version_switchtruepage


Minor Release



Table of Contents

Introduction

The Apache Flink project periodically declares and publishes releases. A release is one or more packages of the project artifact(s) that are approved for general public distribution and use. They may come with various degrees of caveat regarding their perceived quality and potential for change, such as “alpha”, “beta”, “incubating”, “stable”, etc.

...

Most of the following commands have to be executed in the tools directory, we will prefix the command prompt to make this explicit.If you are doing a new major release, first


codelanguage
Builder Show
flagversion_switch

First create a branch for the new version that we want to release before updating the master branch to the next development version:


bash



Builder Show
bash
$ git checkout -b release-$SHORT_RELEASE_VERSION 
$ git checkout master
$ cd tools
tools $ OLD_VERSION=$CURRENT_SNAPSHOT_VERSION NEW_VERSION=$NEXT_SNAPSHOT_VERSION releasing/update_branch_version.sh
$ cd ..
$ git checkout -b release-$SHORT_RELEASE_VERSION  

...

notflagversion_switch

Check out the the already existing branch for that version:

...

language
Code Block


bash
$ git checkout -b release-$SHORT_RELEASE_VERSION



The rest of this guide assumes that commands are run in the root (or tools directory) of a repository on the branch of the release version with the above environment variables set.

...