Skip to content

Commit

Permalink
fix(ci): tar creation
Browse files Browse the repository at this point in the history
Signed-off-by: vados <[email protected]>
  • Loading branch information
t3hmrman committed Dec 11, 2023
1 parent 5bc7db9 commit f92f645
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ runs:
if: ${{ inputs.artifact-upload }}
uses: actions/upload-artifact@v3
with:
path: pg_idkit-*.zip
path: pg_idkit-*.tar.gz
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ secrets/docker/.token_seed.lock
secrets/docker/buildx/

# Releases
/pg_idkit-*.tar.gz
/pg_idkit-*.zip
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit f92f645

Please sign in to comment.