From 45f66ac7b529077b106a73ba9d0dd3f7e1401292 Mon Sep 17 00:00:00 2001 From: 7^6 Date: Mon, 11 Mar 2024 01:54:20 +0800 Subject: [PATCH] chore:Update main.yml --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eecb344..aeec04f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,8 +40,7 @@ jobs: run: | if [ $(git rev-parse dev-build) != $(git rev-parse HEAD) ]; then git tag -d dev-build && git tag dev-build $(git rev-parse HEAD) - git push origin :refs/tags/dev-build - git push origin dev-build + git push origin -f dev-build fi - name: Create CHANGELOG