From 1177d1d4e205b5b86aeeca04dde8bbb1ac580abd Mon Sep 17 00:00:00 2001 From: lanthora Date: Wed, 12 Jun 2024 03:11:36 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20DEB=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/check.yaml | 2 +- .github/workflows/release.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index db4f2305..f6aed9d3 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -94,4 +94,4 @@ jobs: docker-image: ${{ matrix.image }} buildpackage-opts: --build=binary --no-sign extra-build-deps: git-buildpackage - before-build-hook: dch --package candy -v "$(git tag -l | tail -n1 | sed 's/v//g')+${{ env.ARTIFACT_NAME }}" -D stable --create "CI BUILD" + before-build-hook: dch --package candy -v "$(git tag --sort=-creatordate | head -n1 | sed 's/v//g')+${{ env.ARTIFACT_NAME }}" -D stable --create "CI BUILD" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bf30188b..45a3b288 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -139,7 +139,7 @@ jobs: docker-image: ${{ matrix.image }} buildpackage-opts: --build=binary --no-sign extra-build-deps: git-buildpackage - before-build-hook: dch --package candy -v "$(git tag -l | tail -n1 | sed 's/v//g')+${{ env.ARTIFACT_NAME }}" -D stable --create "CI BUILD" + before-build-hook: dch --package candy -v "$(git tag --sort=-creatordate | head -n1 | sed 's/v//g')+${{ env.ARTIFACT_NAME }}" -D stable --create "CI BUILD" - name: upload artifact uses: actions/upload-artifact@v4 with: