actually reset test branch to master release, not before master release.

This commit is contained in:
Ottermandias 2022-06-19 11:47:14 +02:00
parent c330859abc
commit c64743ee98

View file

@ -75,10 +75,10 @@ jobs:
git config --global user.name "Actions User" git config --global user.name "Actions User"
git config --global user.email "actions@github.com" git config --global user.email "actions@github.com"
git fetch origin master && git fetch origin test && git branch -f test origin/master && git checkout master git fetch origin master && git fetch origin test && git checkout master
git add repo.json git add repo.json
git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true
git push origin master || true git push origin master || true
git checkout test git branch -f test origin/master && git checkout test
git push origin test -f || true git push origin test -f || true