From 10bea3dee62a777e44093a67ed8214fe093c7c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Sch=C3=BCrch?= Date: Thu, 11 Jul 2024 14:48:42 +0200 Subject: [PATCH] chore(workflows): reset-release-branch-deletion (#3253) --- .github/workflows/release.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 150be401be..dba82aa30b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -418,15 +418,11 @@ jobs: - name: Remove Changeset Branch if: needs.collect-release-data.outputs.release-changeset-branch-exists == 'true' - run: | - git branch -m changeset-release/${{ fromJSON(needs.collect-release-data.outputs.release-data).branchName }} delete/v${{ fromJSON(needs.collect-release-data.outputs.release-data).old.major }} - git push origin --delete delete/v${{ fromJSON(needs.collect-release-data.outputs.release-data).old.major }} + run: git push origin --delete changeset-release/${{ fromJSON(needs.collect-release-data.outputs.release-data).branchName }} - name: Remove Release Branch if: needs.collect-release-data.outputs.release-branch-exists == 'true' - run: | - git branch -m ${{ fromJSON(needs.collect-release-data.outputs.release-data).branchName }} delete/v${{ fromJSON(needs.collect-release-data.outputs.release-data).old.major }} - git push origin --delete delete/v${{ fromJSON(needs.collect-release-data.outputs.release-data).old.major }} + run: git push origin --delete ${{ fromJSON(needs.collect-release-data.outputs.release-data).branchName }} - name: Create Summary id: summary