From 06109c102501ef2f9208568462bbd5f96ccefb01 Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Wed, 13 Sep 2023 11:59:31 +0200 Subject: [PATCH] Fix `upload-db-dump` action script It just failed: Run git checkout db-dumps error: Your local changes to the following files would be overwritten by checkout: util/dev-config/config.toml Please commit your changes or stash them before you switch branches. Well, I still haven't tested this, so we will see during the next release :P --- .github/workflows/upload-db-dump.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/upload-db-dump.yml b/.github/workflows/upload-db-dump.yml index 416ce4511..3b6ba54d7 100644 --- a/.github/workflows/upload-db-dump.yml +++ b/.github/workflows/upload-db-dump.yml @@ -72,6 +72,7 @@ jobs: # the dump is 2MB, this "waste" of storage and bandwidth is miniscule. - name: Commit & push run: | + git reset --hard HEAD git checkout db-dumps cp db-dump.xz db-dump-latest.xz mv db-dump.xz db-dump-${{github.ref_name}}.xz