From 0352af2739f4a9764c5f0e7c457cda82cfb68e1a Mon Sep 17 00:00:00 2001 From: Monet Lee Date: Wed, 23 Oct 2024 12:30:13 +0800 Subject: [PATCH] 123 --- .github/workflows/changelog.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 267e4be..ce5aaac 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -26,6 +26,9 @@ jobs: - name: Handle changelog files run: | + # Ensure that the CHANGELOG directory exists + mkdir -p CHANGELOG + # Extract Major.Minor version by removing the 'v' prefix from the tag name TAG_NAME=${{ github.event.release.tag_name }} CHANGELOG_VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//' | grep -oP '^\d+\.\d+')