File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -32,22 +32,22 @@ jobs:
3232 cat datajoint/version.py
3333 # Commit the changes
3434 BRANCH_NAME="update-version-$VERSION"
35- git checkout -b $BRANCH_NAME
35+ git switch -c $BRANCH_NAME
3636 git config --global user.name "github-actions"
3737 git config --global user.email "github-actions@github.com"
3838 git add datajoint/version.py
3939 git commit -m "Update version.py to $VERSION"
4040 git push origin $BRANCH_NAME
4141 echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
4242 echo "VERSION=$VERSION" >> $GITHUB_ENV
43- - name : Create Pull Request
44- uses : peter-evans/create-pull-request@v6
45- with :
46- token : ${{ secrets.GITHUB_TOKEN }}
47- branch : ${{ env.BRANCH_NAME }}
48- title : " Update version.py to ${{ github.event.release.name }}"
49- body : " This PR updates `version.py` to match the latest release: ${{ github.event.release.name }}"
50- base : master
43+ # - name: Create Pull Request
44+ # uses: peter-evans/create-pull-request@v6
45+ # with:
46+ # token: ${{ secrets.GITHUB_TOKEN }}
47+ # branch: ${{ env.BRANCH_NAME }}
48+ # title: "Update version.py to ${{ github.event.release.name }}"
49+ # body: "This PR updates `version.py` to match the latest release: ${{ github.event.release.name }}"
50+ # base: master
5151 slack-notification :
5252 runs-on : ubuntu-latest
5353 steps :
You can’t perform that action at this time.
0 commit comments