Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Replace RELEASE_DATE with the release date into the template #211

Merged
merged 3 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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|RELEASE_DATE|$(RELEASE_DATE)|g" RELEASE_NOTES.md
head -6 RELEASE_NOTES.md > RELEASE_NOTES

####################################################################
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_NOTES_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->
Expand Down
Loading