简体   繁体   中英

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.

It might not help your cause, but from Gemfury website I select the version I want to upgrade, delete it and then upload the new package with same version.

I think that way you can automate as well.

您可以使用下面的 CLI 删除最新的软件包版本并继续新的上传(

fury yank package-name -v 0.1.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM