Skip to content

Commit

Permalink
Update autoPR creation in release script (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
loadams authored Oct 6, 2023
1 parent e050e8f commit fb8351b
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,16 @@ jobs:
- name: Bump version
run: |
python release/bump_patch_version.py --current_version ${{ env.RELEASE_VERSION }}
- name: Commit version.txt
run: |
git config --global user.name 'ds-release-bot'
git config --global user.email '[email protected]'
git add version.txt
git commit -m "Release v${{ env.RELEASE_VERSION }}"
git push
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
add-paths: |
version.txt
body: |
**Auto-generated PR to update version.txt after a DeepSpeed release**
Released version - ${{ env.RELEASE_VERSION }}
Author - @${{ github.actor }}
branch: AutoPR/${{ env.RELEASE_VERSION }}
assignees: ${{ github.actor }}
title: "Update version.txt after ${{ env.RELEASE_VERSION }} release"
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>

0 comments on commit fb8351b

Please sign in to comment.