From c64743ee98446d9e028c75b3a9e6df25db3cebcc Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Sun, 19 Jun 2022 11:47:14 +0200 Subject: [PATCH] actually reset test branch to master release, not before master release. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbad3c82..3b1efa01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,10 +75,10 @@ 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 branch -f test origin/master && 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 checkout test + git branch -f test origin/master && git checkout test git push origin test -f || true