From 5f1dac98d69f80024d37e652c2f21556eb5e5178 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Sun, 12 Jun 2022 01:11:50 +0200 Subject: [PATCH] Also reset test for actual releases --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17c1b060..fbad3c82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,8 +75,10 @@ jobs: git config --global user.name "Actions User" git config --global user.email "actions@github.com" - git fetch origin master && git checkout master + git fetch origin master && git fetch origin test && git branch -f test origin/master && 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 push origin test -f || true