Skip to content

Commit

Permalink
[ci] Remove automatic version bump PR (taichi-dev#6617)
Browse files Browse the repository at this point in the history
Fixes taichi-dev#6437


### Brief Summary

Our oncall release process changed and this should be done manually.
  • Loading branch information
ailzhang authored Nov 16, 2022
1 parent afe498f commit 018e3de
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 018e3de

Please sign in to comment.