From f92f6456bb21583e2ffda9ebd6c0be00f58f201f Mon Sep 17 00:00:00 2001 From: vados Date: Mon, 11 Dec 2023 17:19:59 +0900 Subject: [PATCH] fix(ci): tar creation Signed-off-by: vados --- .github/workflows/build-and-test/action.yaml | 2 +- .gitignore | 1 + Justfile | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test/action.yaml b/.github/workflows/build-and-test/action.yaml index 581776d..7135c26 100644 --- a/.github/workflows/build-and-test/action.yaml +++ b/.github/workflows/build-and-test/action.yaml @@ -172,4 +172,4 @@ runs: if: ${{ inputs.artifact-upload }} uses: actions/upload-artifact@v3 with: - path: pg_idkit-*.zip + path: pg_idkit-*.tar.gz diff --git a/.gitignore b/.gitignore index 4d12332..1f50e98 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ secrets/docker/.token_seed.lock secrets/docker/buildx/ # Releases +/pg_idkit-*.tar.gz /pg_idkit-*.zip diff --git a/Justfile b/Justfile index 8334f0c..fee502f 100644 --- a/Justfile +++ b/Justfile @@ -106,7 +106,7 @@ build-test-watch: _check-tool-cargo _check-tool-cargo-watch package: PGRX_IGNORE_RUST_VERSIONS=y {{cargo}} pgrx package --pg-config {{pkg_pg_config_path}} - {{tar}} -cvf pg_idkit-$(just print-version).zip $({{just}} print-pkg-output-dir) + {{tar}} -cvf pg_idkit-$(just print-version).tar.gz -C $({{just}} print-pkg-output-dir) * print-pkg-output-dir: echo -n {{pgrx_pkg_output_dir}}