diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf60c03a..565ec74f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,10 +75,13 @@ jobs: git config --global user.name "Actions User" git config --global user.email "actions@github.com" - git fetch origin master && git fetch origin test && git checkout master + git fetch origin master + git fetch origin test + git checkout master git add repo.json git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true - git push origin master || true - git branch -f test origin/master && git checkout test + git push origin master + git branch -f test origin/master + git checkout test git push origin test -f || true