From 89cda7db59545373d1afd15add9caba4323bea08 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Fri, 12 Apr 2024 03:40:53 +0200 Subject: [PATCH] ci: change changelog generation command --- Justfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index 9bc4fd6..7d48e2b 100644 --- a/Justfile +++ b/Justfile @@ -49,16 +49,15 @@ release crate="rustypipe": set -e CRATE="{{crate}}" - INCLUDES='--include-path README.md --include-path LICENSE --include-path Cargo.toml' CHANGELOG="CHANGELOG.md" if [ "$CRATE" = "rustypipe" ]; then - INCLUDES="$INCLUDES --include-path 'src/**' --include-path 'tests/**' --include-path 'testfiles/**'" + INCLUDES="--exclude-path 'notes/**' --exclude-path 'cli/**' --exclude-path 'downloader/**'" else if [ ! -d "$CRATE" ]; then echo "$CRATE does not exist."; exit 1 fi - INCLUDES="$INCLUDES --include-path '$CRATE/**'" + INCLUDES="--include-path README.md --include-path LICENSE --include-path Cargo.toml --include-path '$CRATE/**'" CHANGELOG="$CRATE/$CHANGELOG" CRATE="rustypipe-$CRATE" # Add crate name prefix fi