From 3240cd9a161177af10d8a86ce37c5d95299f1bf5 Mon Sep 17 00:00:00 2001 From: VillagerTom Date: Mon, 22 Jul 2024 11:25:14 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E9=A2=91=E9=81=93=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E8=A1=A5=E5=85=85commit=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-ios.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index 18e9a076..874246ad 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -20,6 +20,7 @@ jobs: outputs: # 定义输出变量 version,以便在其他job中引用 new_version: ${{ steps.get-last-tag.outputs.tag}} + last_commit: ${{ steps.get-last-commit.outputs.last_commit }} steps: - name: Checkout code @@ -27,6 +28,12 @@ jobs: with: fetch-depth: 0 + - name: 获取最后一次提交 + id: get-last-commit + run: | + last_commit=$(git log -1 --pretty="%h %s" --first-parent) + echo "last_commit=$last_commit" >> $GITHUB_OUTPUT + - name: 获取最后一个tag id: get-last-tag run: | From e91ba8ab70e1190952f3b99f3f36a84c607844a7 Mon Sep 17 00:00:00 2001 From: VillagerTom Date: Wed, 24 Jul 2024 21:00:50 +0800 Subject: [PATCH 2/3] =?UTF-8?q?mod:=20=E7=BB=9F=E4=B8=80=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E6=A0=BC=E5=BC=8F(=E5=8E=BB=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E7=9A=84v)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cddf8d1a..fe6d8480 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -156,7 +156,7 @@ jobs: - name: Upload Release uses: ncipollo/release-action@v1 with: - name: v${{ steps.version.outputs.version }} + name: ${{ steps.version.outputs.version }} token: ${{ secrets.GIT_TOKEN }} omitBodyDuringUpdate: true omitNameDuringUpdate: true From 1fbc10c4090653e28e79beeef96491b1c0480b2e Mon Sep 17 00:00:00 2001 From: VillagerTom Date: Thu, 1 Aug 2024 13:03:49 +0800 Subject: [PATCH 3/3] Update issue templates --- .github/ISSUE_TEMPLATE/bug-反馈.md | 6 +++--- .github/ISSUE_TEMPLATE/功能请求.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-反馈.md b/.github/ISSUE_TEMPLATE/bug-反馈.md index c9341a82..71fae9c3 100644 --- a/.github/ISSUE_TEMPLATE/bug-反馈.md +++ b/.github/ISSUE_TEMPLATE/bug-反馈.md @@ -1,9 +1,9 @@ --- name: Bug 反馈 about: 描述你所遇到的bug -title: '' -labels: 问题反馈 -assignees: orz12 +title: "[Bug] " +labels: bug +assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/功能请求.md b/.github/ISSUE_TEMPLATE/功能请求.md index 8145df9b..edf2d742 100644 --- a/.github/ISSUE_TEMPLATE/功能请求.md +++ b/.github/ISSUE_TEMPLATE/功能请求.md @@ -1,9 +1,9 @@ --- name: 功能请求 about: 对于功能的一些建议 -title: '' -labels: 功能 -assignees: orz12 +title: "[FR] " +labels: enhancement +assignees: '' ---