From 43bd18c82b39869f7ed5e6268c2dd5e78214e4d3 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Tue, 2 Jul 2024 01:08:09 +0800 Subject: [PATCH] gdfg --- .gitea/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 2295c50..9f187ea 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -8,7 +8,7 @@ jobs: Build: runs-on: [ubuntu-latest, ubuntu-24.04] container: - image: frp-by1.wwvvww.cn:45288/ubuntu_dev:24.04 + image: frp-by1.wwvvww.cn:45288/ubuntu_dev:22.04 steps: - name: Check out repository code uses: actions/checkout@v4 @@ -19,7 +19,7 @@ jobs: run: | set -eux current_tag=$(git describe --tags --abbrev=0) - previous_tag=$(git describe --tags --abbrev=0 ${current_tag}^) + previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1)) echo "Commits from ${previous_tag} to ${current_tag}:" git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%s" | nl -w2 -s". " | xargs echo - name: Upload Gitea Release