From 86e3d9dffb609644ef36872257d8b81a6e69ecb7 Mon Sep 17 00:00:00 2001 From: Evan Fiordeliso Date: Fri, 8 Mar 2024 14:00:01 -0500 Subject: [PATCH] chore(devenv): Add changelog to tag messages in release script --- devenv.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devenv.nix b/devenv.nix index 06fe3a4..29b9a27 100644 --- a/devenv.nix +++ b/devenv.nix @@ -35,10 +35,11 @@ fi version="$(git cliff --bumped-version)" + changelog=$(git cliff --unreleased --strip all | sed -e '/^#/d' -e '/^$/d') git cliff --bump --unreleased --prepend $CHANGELOG_FILE git add $CHANGELOG_FILE git commit -m "chore(release): release $version" - git tag "$version" -m "Release $version" + git tag "$version" -m "Release $version" -m "$changelog" git push --tags '';