From b76accf28f8a33e982c4e0f493c2920a8090b605 Mon Sep 17 00:00:00 2001 From: Gabriel Comte Date: Wed, 20 Mar 2024 14:59:53 +0100 Subject: [PATCH] Assume version tag already contains '-mock*' suffix --- .github/workflows/deploy-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index df2b90df..986027c7 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -7,7 +7,7 @@ concurrency: on: push: tags: - - 'v*.*.*' + - 'v*.*.*-mock*' env: GITHUB_REF: ${{ github.ref }} @@ -214,7 +214,7 @@ jobs: git commit -m "This commit was created automatically by the lipa bot" git restore . git pull --rebase - git tag -a ${{ env.RELEASE_VERSION }}${{ matrix.mock-deps && '-mock' || '' }} HEAD -m "This tag was created automatically by the lipa bot." + git tag -a ${{ env.RELEASE_VERSION }} HEAD -m "This tag was created automatically by the lipa bot." git push git push --tag - name: Create release @@ -322,7 +322,7 @@ jobs: git add jitpack.yml git commit -m "This commit was created automatically by the lipa bot" git pull --rebase - git tag -a ${{ env.RELEASE_VERSION }}${{ matrix.mock-deps && '-mock' || '' }} HEAD -m "This tag was created automatically by the lipa bot." + git tag -a ${{ env.RELEASE_VERSION }} HEAD -m "This tag was created automatically by the lipa bot." git push git push --tag - name: Create release