diff --git a/.gitea/workflows/build-ubuntu.yml b/.gitea/workflows/build-ubuntu.yml index 431bfa1..b3c2b6c 100644 --- a/.gitea/workflows/build-ubuntu.yml +++ b/.gitea/workflows/build-ubuntu.yml @@ -131,6 +131,8 @@ jobs: D0=artifacts/target/release FNAME=daqingest VER=$($D0/$FNAME version) + URL="https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER" + curl --fail --request DELETE --header "authorization: $PSI_GITEA_PUB" "$URL" URL="https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER/$FNAME" echo URL "$URL" curl \ @@ -140,6 +142,8 @@ jobs: "$URL" FNAME=daqretrieve VER=$($D0/$FNAME version) + URL="https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER" + curl --fail --request DELETE --header "authorization: $PSI_GITEA_PUB" "$URL" URL="https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER/$FNAME" echo URL "$URL" curl \