diff --git a/Makefile b/Makefile index c104f901..21253f65 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ SHELL := /bin/bash # Open Hospital version OH_VERSION ?= $(shell git describe --abbrev=0 --tags) +RELEASE_DATE := $(shell date +'%d/%m/%Y') # software distribution CLIENT := OpenHospital-$(OH_VERSION)-multiarch-client @@ -260,6 +261,7 @@ release-notes: sed -i "s/VERSION/$(OH_VERSION)/g" RELEASE_NOTES.md sed -i "s/SECONDLASTTAG/$${secondlasttag//$$'\n'/\\n}/g" RELEASE_NOTES.md sed -i "s/LASTTAG/$${lasttag//$$'\n'/\\n}/g" RELEASE_NOTES.md + sed -i "s|RELEASE_DATE|$(RELEASE_DATE)|g" RELEASE_NOTES.md head -6 RELEASE_NOTES.md > RELEASE_NOTES #################################################################### diff --git a/RELEASE_NOTES_TEMPLATE.md b/RELEASE_NOTES_TEMPLATE.md index 91947665..bd84798b 100644 --- a/RELEASE_NOTES_TEMPLATE.md +++ b/RELEASE_NOTES_TEMPLATE.md @@ -3,7 +3,7 @@ Open Hospital is a free and open-source Health Information Management System (HIMS) software application. Please visit the Open Hospital website https://www.open-hospital.org/ for more information. -Released on _date_ +Released on _RELEASE_DATE_ ### Release Highlights -->