From 82d9ac9106898d57b9676b8f8b3d8a43b023aa3b Mon Sep 17 00:00:00 2001 From: hee9841 Date: Fri, 25 Apr 2025 18:26:17 +0900 Subject: [PATCH 1/3] =?UTF-8?q?Chore:=20=EC=BB=A4=EB=B0=8B=20=EB=A9=94?= =?UTF-8?q?=EC=84=B8=EC=A7=80=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 기존 Release 0.0.0만 수용했던 것에서 Release 0.0.0 (#22) 방식도 수용 --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index fb12dc5..a4ce3da 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - name: Extract version information run: | - VERSION=$(echo "${{ github.event.head_commit.message }}" | grep -oE 'Release [0-9]+\.[0-9]+\.[0-9]+' | sed 's/Release //') + VERSION=$(echo "${{ github.event.head_commit.message }}" | grep -oE 'Release [0-9]+\.[0-9]+\.[0-9]+( \(#[0-9]+\))?' | sed -E 's/Release ([0-9]+\.[0-9]+\.[0-9]+).*/\1/') if [[ -n "$VERSION" ]]; then echo "VERSION=$VERSION" >> $GITHUB_ENV fi From 96758290929acaeebcfd0c2680011bcc1006c478 Mon Sep 17 00:00:00 2001 From: hee9841 Date: Fri, 25 Apr 2025 18:44:04 +0900 Subject: [PATCH 2/3] =?UTF-8?q?Chore:=20=EA=B8=B0=EC=A1=B4=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=EB=A1=9C=20revert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index a4ce3da..fb12dc5 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - name: Extract version information run: | - VERSION=$(echo "${{ github.event.head_commit.message }}" | grep -oE 'Release [0-9]+\.[0-9]+\.[0-9]+( \(#[0-9]+\))?' | sed -E 's/Release ([0-9]+\.[0-9]+\.[0-9]+).*/\1/') + VERSION=$(echo "${{ github.event.head_commit.message }}" | grep -oE 'Release [0-9]+\.[0-9]+\.[0-9]+' | sed 's/Release //') if [[ -n "$VERSION" ]]; then echo "VERSION=$VERSION" >> $GITHUB_ENV fi From 2156941c77fece51bd4ff01205e5b4e31e825636 Mon Sep 17 00:00:00 2001 From: hee9841 Date: Fri, 25 Apr 2025 18:50:40 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=EB=B0=B0=ED=8F=AC=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=20=EC=88=98=EC=A0=95(#59)=EC=9D=98=20Error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index fb12dc5..980b65c 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - name: Extract version information run: | - VERSION=$(echo "${{ github.event.head_commit.message }}" | grep -oE 'Release [0-9]+\.[0-9]+\.[0-9]+' | sed 's/Release //') + VERSION=$(echo "${{ github.event.head_commit.message }}" | grep -oE 'Release [0-9]+\.[0-9]+\.[0-9]+' | head -n 1 | sed 's/Release //') if [[ -n "$VERSION" ]]; then echo "VERSION=$VERSION" >> $GITHUB_ENV fi