From f83f4b06cebb1af5c8c06bc38d1d59d66949b2c9 Mon Sep 17 00:00:00 2001 From: Stephan Michard Date: Thu, 25 Jan 2024 17:46:47 +0100 Subject: [PATCH] fix: :bug: script corrected, log of repository in correct order #major --- generate_changelog_gh.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/generate_changelog_gh.sh b/generate_changelog_gh.sh index 29e3449..01d0978 100755 --- a/generate_changelog_gh.sh +++ b/generate_changelog_gh.sh @@ -13,8 +13,7 @@ CHANGELOG_FILE="$REPO_DIR/CHANGELOG.md" echo "Starting changelog generation script..." git config --global --add safe.directory /github/workspace git -C /github/workspace fetch --unshallow -echo "Repository:" -echo $GITHUB_REPO_URL + # Create or clear the changelog file > $CHANGELOG_FILE @@ -35,6 +34,9 @@ if [ -z "$GITHUB_REPO_URL" ]; then GITHUB_REPO_URL=0 fi +echo "Repository:" +echo $GITHUB_REPO_URL + # Fetch the latest changes git fetch --tags echo "Fetched latest tags."