From 03de1136d58fc1cf1e18b70f486f0897104797f3 Mon Sep 17 00:00:00 2001 From: Sergey Chudov Date: Mon, 5 Aug 2024 19:10:39 +0400 Subject: [PATCH] feature/Added clobber argument to uploading resources --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89ca07e..555948c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,7 +69,7 @@ jobs: echo "created announcement!" # Upload the manifest to the Github Releaseā„¢ - gh release upload ${{ github.ref_name }} dist-manifest.json + gh release upload ${{ github.ref_name }} dist-manifest.json --clobber echo "uploaded manifest!" # Disable all the upload-artifacts tasks if we have no actual releases @@ -113,7 +113,7 @@ jobs: jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json > uploads.txt echo "uploading..." cat uploads.txt - gh release upload ${{ github.ref_name }} $(cat uploads.txt) + gh release upload ${{ github.ref_name }} $(cat uploads.txt) --clobber echo "uploaded!" # Mark the Github Releaseā„¢ as a non-draft now that everything has succeeded!