Skip to content

Commit

Permalink
fix create release script
Browse files Browse the repository at this point in the history
  • Loading branch information
cgarciae committed Mar 18, 2023
1 parent 5307f2f commit ed208a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
# switch to master
git pull origin master
git checkout master
# switch to main
git pull origin main
git checkout main
# update version
python scripts/update_version.py $RELEASE_VERSION
Expand All @@ -50,7 +50,7 @@ jobs:
git fetch --tags
git tag $RELEASE_VERSION
# push to master
# push to main
git push
git push --tags
Expand Down

0 comments on commit ed208a8

Please sign in to comment.