buildrelease-managementgem-fury

Overwrite/force push an existing package version in gemfury


We are using gemfury to manage our internal python package releases. The issue I am facing right now is that gemfury doesn't allow pushing/overwriting the same version, which is good in a way when dealing with production builds. This is difficult to manage in case of dev/qa builds. We do increment version and release when releasing production versions.

Is there a flag that can be used to force push/overwrite a package version? Eg. If someone pushes some change to my QA branch, I build the branch and release the new build, but I want to call it version 'qa' always. So this way, I always want the 'qa' version to point to the latest version of my QA build. I have a jenkins job to do this.

I really need an api/flag to overwrite an existing version to accomplish what I am trying to achieve with respect to automating our development and release process. Please let me know if something like this is available.


Solution

  • You can delete the latest package version using below CLI and continue with new upload (source)

    fury yank package-name -v 0.1.0