Update release action for build.

This commit is contained in:
Ottermandias 2022-12-03 15:53:48 +01:00
parent 7635c0c834
commit 7db67fefa8

View file

@ -75,10 +75,13 @@ 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 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
git branch -f test origin/master && git checkout test git branch -f test origin/master
git checkout test
git push origin test -f || true git push origin test -f || true