Skip to content

Commit

Permalink
fix: 🐛 script corrected, log of repository in correct order #major
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Michard committed Jan 25, 2024
1 parent 769810c commit f83f4b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions generate_changelog_gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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."
Expand Down

0 comments on commit f83f4b0

Please sign in to comment.