Skip to content

Commit 137d445

Browse files
author
Drew Yang
committed
test: 🧪 test new version branch
1 parent 3a08930 commit 137d445

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎.github/workflows/post_release.yaml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)