From 18fbfd495b8983cc7e330b8ebf06e573be9c10b5 Mon Sep 17 00:00:00 2001 From: Ailing Date: Wed, 16 Nov 2022 09:19:37 +0800 Subject: [PATCH] [ci] Remove automatic version bump PR (#6617) Fixes #6437 ### Brief Summary Our oncall release process changed and this should be done manually. --- .github/workflows/release.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87f45da556bd8..a6f400dd0cf14 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -377,20 +377,3 @@ jobs: with: body: ${{ steps.changelog.outputs.content }} tag_name: ${{ github.event.inputs.version }} - - - name: Bump version - run: | - version_parts=(${RELEASE_VERSION//./ }) - version_parts[2]=$(expr ${version_parts[2]} + 1) - next_version=$(IFS=.; echo "${version_parts[*]}") - # Update version.txt - git checkout -b "bump/$next_version" - echo "$next_version" > version.txt - git add version.txt - # Commit and push changes - git commit -m "Bump version to $next_version" - git push origin "bump/$next_version" - # Create pull request - gh pr create -B master -t "[misc] Bump version to $next_version" -b "Bump version to $next_version" - env: - GITHUB_TOKEN: ${{ secrets.GARDENER_PAT }}