From 7bbb4f9a2503f04abd371034ba1bb129d8dbce70 Mon Sep 17 00:00:00 2001 From: aleixpuig <94959119+aleixpuigb@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:42:58 +0100 Subject: [PATCH] Generate the release diff with the OAK output Fixes issues with reaching the limit number of characters in the release notes --- src/ontology/uberon.Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ontology/uberon.Makefile b/src/ontology/uberon.Makefile index b6f7ea157..b3f787a34 100644 --- a/src/ontology/uberon.Makefile +++ b/src/ontology/uberon.Makefile @@ -1412,6 +1412,7 @@ DEPLOY_GH=true uberon: $(MAKE) prepare_release IMP=false PAT=false BRI=true CLEANFILES=tmp/merged-uberon-edit.obo $(MAKE) release-diff + $(MAKE) release_diff_oak if [ $(DEPLOY_GH) = true ]; then $(MAKE) deploy_release GHVERSION="v$(TODAY)"; fi FILTER_OUT=../patterns/definitions.owl ../patterns/pattern.owl reports/uberon-edit.obo-obo-report.tsv @@ -1427,6 +1428,15 @@ deploy_release: release-diff: cd diffs && make all +CURRENT_BASE_RELEASE=$(ONTBASE)/uberon-base.obo + +.PHONY: $(TMPDIR)/current-base-release.obo +$(TMPDIR)/current-base-release.obo: + wget $(CURRENT_BASE_RELEASE) -O $@ + +release_diff_oak: + runoak -i simpleobo:$(TMPDIR)/current-base-release.obo diff -X simpleobo:$(RELEASEDIR)/uberon-base.obo -o $(REPORTDIR)/diff_release_oak.md --output-type md + # ---------------------------------------- # UTILITY COMMANDS