From ba758ac553679b71413dc6d0b1d8e01b83f4a1bd Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sun, 14 Mar 2021 19:53:45 -0400 Subject: [PATCH] ci(GHA/release): Delete the release when creating a new nightly This reverts #13733. Disabling delete of the release leaves behind a draft release associated with the previous nightly tag, which is annoying to cleanup. In the rare circumstances that the creation of a new nightly fails after deleting the previous nightly, the job can be re-run or a nightly can be missing for a day. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d0d21a585..43fe1d5101 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -156,7 +156,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - delete_release: '' + delete_release: true tag_name: nightly - uses: meeDamian/github-release@2.0 with: