File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -432,10 +432,17 @@ promote_release(){
432432
433433 set_git_credentials
434434
435+ # Tag release and push it
435436 git tag rel/avatica-$TAG_WITHOUT_RC $LATEST_TAG
436-
437437 git push $GITBOX_URL rel/avatica-$TAG_WITHOUT_RC
438438
439+ # Merge release branch back to master and push
440+ [[ $TAG_WITHOUT_RC =~ ([[:digit:]]+\. [[:digit:]]+)\. [[:digit:]]+$ ]]
441+ BRANCH_VERSION=${BASH_REMATCH[1]}
442+ git checkout master
443+ git merge branch-$TAG_WITHOUT_RC --ff-only
444+ git push $GITBOX_URL master
445+
439446 svn checkout $RELEASE_REPO /tmp/release
440447 rm -rf /tmp/release/$PRODUCT -$TAG_WITHOUT_RC
441448 mkdir -p /tmp/release/$PRODUCT -$TAG_WITHOUT_RC
Original file line number Diff line number Diff line change @@ -568,6 +568,14 @@ svn ci
568568The old releases will remain available in the
569569[ release archive] ( http://archive.apache.org/dist/calcite/ ) .
570570
571+ Merge the release branch back to master and push it:
572+
573+ {% highlight bash %}
574+ git checkout master
575+ git merge branch-X.Y --ff-only
576+ git push origin master
577+ {% endhighlight %}
578+
571579### Publishing a release using docker:
572580This assumes that a rc release was tagged and pushed to the git repository.
573581
You can’t perform that action at this time.
0 commit comments