From 44d63308cc21d214d2c3a0f7f89bcf12ac6d37c6 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Wed, 27 Nov 2024 15:58:12 +0200 Subject: [PATCH] Switch tar.gz to gz for single file deployments --- .gitignore | 2 ++ src/ontology/phenio.Makefile | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 6960243..403b59b 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,5 @@ phenio.owl phenio.json phenio-test.owl phenio-relation-graph.tar.gz +src/ontology/phenio.owl.gz +src/ontology/phenio-relation-graph.gz diff --git a/src/ontology/phenio.Makefile b/src/ontology/phenio.Makefile index 7b5f0f9..a4ad4b3 100644 --- a/src/ontology/phenio.Makefile +++ b/src/ontology/phenio.Makefile @@ -14,7 +14,7 @@ UPDATE_QUERY_PATH= $(TMPDIR)/subq_update.sparql EXPLAIN_OUT_PATH= $(TMPDIR)/explain_unsat.md RELEASE_ASSETS_AFTER_RELEASE=$(foreach n,$(RELEASE_ASSETS), ./$(n)) -RELEASE_ASSETS = $(ONT).owl.tar.gz $(ONT).json $(ONT)-relation-graph.tar.gz $(ONT)-test.owl +RELEASE_ASSETS = $(ONT).owl.gz $(ONT).json $(ONT)-relation-graph.gz $(ONT)-test.owl ################################################################ #### Components ################################################ @@ -154,11 +154,11 @@ $(ONT)-test.owl: $(ONT).owl $(ROBOT) extract --method MIREOT --input $< --branch-from-term "UPHENO:0084945" --output $@ # Compress relation-graph -$(ONT)-relation-graph.tar.gz: $(ONT)-relation-graph.tsv - tar -czf $@ $< +$(ONT)-relation-graph.gz: $(ONT)-relation-graph.tsv + gzip -c $< > $@ -$(ONT).owl.tar.gz: $(ONT).owl - tar -czf $@ $< +$(ONT).owl.gz: $(ONT).owl + gzip -c $< > $@ # Do release to Github public_release: