Skip to content

Commit

Permalink
Fix replace changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Kévin Lambert <[email protected]>
  • Loading branch information
knlambert committed May 25, 2023
1 parent 8a97f15 commit 4053b36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-aux/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ clobber: ## (Build) Remove all build artifacts and tools
.PHONY: prepare-release
prepare-release: generate wix
sed -i.bak "/^### $(patsubst v%,%,$(TELEPRESENCE_VERSION)) (TBD)\$$/s/TBD/$$(date +'%B %-d, %Y')/" CHANGELOG.OLD.md
rm -f CHANGELOG.md.bak
git add CHANGELOG.md
rm -f CHANGELOG.OLD.md.bak
git add CHANGELOG.OLD.md

sed -i.bak "/date: \"*TBD\"*\$$/s/\"*TBD\"*/\"$$(date +'%Y-%M-%d')\"/" CHANGELOG.yml
sed -i.bak "/date: \"*TBD\"*\$$/s/\"*TBD\"*/\"$$(date +'%Y-%m-%d')\"/" CHANGELOG.yml
rm -f CHANGELOG.yml.bak
git add CHANGELOG.yml

Expand Down

0 comments on commit 4053b36

Please sign in to comment.