Skip to content

Commit

Permalink
Replace _date_ with the release note into the template
Browse files Browse the repository at this point in the history
  • Loading branch information
mwithi committed May 12, 2024
1 parent 769d3b5 commit 6ab4446
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/_date_/_$(RELEASE_DATE)_/g" RELEASE_NOTES.md
head -6 RELEASE_NOTES.md > RELEASE_NOTES

####################################################################
Expand Down

0 comments on commit 6ab4446

Please sign in to comment.