Skip to content

Commit

Permalink
add pr checkout to update version
Browse files Browse the repository at this point in the history
  • Loading branch information
savente93 committed Jul 31, 2023
1 parent 3f6707e commit d703f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update_dev_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git checkout ${{ github.pull_requet.head.ref }}
gh pr checkout ${{ github.pull_request.number }}
- name: Calculate new dev version
run: |
DEV_VERSION=$(cat __init__.py | awk '/__version__/{print $0}' | awk -F'dev' '{print $2}' | tr -d '\"')
Expand Down

0 comments on commit d703f16

Please sign in to comment.