From 56629f84ff755e7bc66e8d617292ee5e93bcb5fc Mon Sep 17 00:00:00 2001 From: Makhonin Vitaliy Date: Tue, 19 Nov 2024 09:53:57 +0200 Subject: [PATCH] Fix --- .github/workflows/agent-dev-tagging.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/agent-dev-tagging.yaml b/.github/workflows/agent-dev-tagging.yaml index cd852fa..7ee98bf 100644 --- a/.github/workflows/agent-dev-tagging.yaml +++ b/.github/workflows/agent-dev-tagging.yaml @@ -24,8 +24,8 @@ jobs: - run: | git config --global user.email "${{ github.event.commits[0].author.email }}" git config --global user.name "${{ github.event.commits[0].author.name }}" - git tag -d main-develop - git push --delete origin main-develop + if git tag --list | grep "^main-develop";then git tag -d main-develop;fi + git push --delete origin main-dev git tag main-develop ${{ env.commit_part }} git push origin main-develop