diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2021-04-05 07:11:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 07:11:51 -0400 |
commit | bc1ff185b88772298314edb4079860b1eb874f68 (patch) | |
tree | 6b3ada9d9d0e95439d7e7344e1d70d121d05657e | |
parent | 0068b7c11a65058778e96029264e374f0ca7fa1e (diff) |
Properly handle binary package reuplods. (#10878)
PackageCloud does not allow duplicate uploads, and we currently have no
good way to avoid duplicate nightly builds, so we need to remove any
existing packages with the same name before we upload newly built
packages.
-rw-r--r-- | .github/workflows/packaging.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 7340c27bb6..a0315430e7 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -121,6 +121,7 @@ jobs: run: | echo "Packages to upload:\n$(ls artifacts/*.${{ matrix.format }})" for pkgfile in artifacts/*.${{ matrix.format }} ; do + .github/scripts/package_cloud_wrapper.sh yank ${{ env.repo }}/${{ matrix.pkgclouddistro }} ${pkgfile} || true .github/scripts/package_cloud_wrapper.sh push ${{ env.repo }}/${{ matrix.pkgclouddistro }} ${pkgfile} done - name: Clean |