Skip to content

Commit

Permalink
Merge pull request #98 from monarch-initiative/switch-targz-to-gz
Browse files Browse the repository at this point in the history
Switch tar.gz to gz for single file deployments
  • Loading branch information
caufieldjh authored Nov 27, 2024
2 parents 2f56804 + 44d6330 commit a556d1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions src/ontology/phenio.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ################################################
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a556d1b

Please sign in to comment.