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 '';