From cfb8bd8f2e5bbfe15abf1f98f4a4da5f9bc58a35 Mon Sep 17 00:00:00 2001 From: Greg Sarjeant <1686767+gsarjeant@users.noreply.github.com> Date: Wed, 2 Jul 2025 20:42:38 -0400 Subject: [PATCH] create tkr parent directory in tar archive --- .gitea/workflows/build_and_publish.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build_and_publish.yaml b/.gitea/workflows/build_and_publish.yaml index b06c790..139ca98 100644 --- a/.gitea/workflows/build_and_publish.yaml +++ b/.gitea/workflows/build_and_publish.yaml @@ -13,10 +13,11 @@ jobs: - name: Build archive run: | tar \ - --exclude='./storage/db' \ - --exclude='./storage/ticks' \ - --exclude='./storage/upload' \ - -czpvf tkr.${{ gitea.ref_name }}.tgz \ + --transform 's,^,tkr/,' + --exclude='storage/db' \ + --exclude='storage/ticks' \ + --exclude='storage/upload' \ + -czvf tkr.${{ gitea.ref_name }}.tgz \ config public src storage templates - name: Push to Generic gitea registry run: |