git-credential-manager icon indicating copy to clipboard operation
git-credential-manager copied to clipboard

Consider removing version number from build assets

Open gcormier opened this issue 2 years ago • 4 comments

In order to automate downloading of a specific platform build asset, it would be easier if the assets did not contain the build number. This would allow referencing the repository using the latest feature in GitHub.

https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases

To link directly to a download of your latest release asset that was manually uploaded, link to /owner/name/releases/latest/download/asset-name.zip.

gcormier avatar Oct 14 '22 16:10 gcormier

I hope I am understanding what you are asking correctly here. If you are advocating to change the asset names from e.g. gcm-osx-arm64-2.0.785.pkg to gcm-osx-arm64.pkg for every release, I can tell you this will make a lot of OS package managers very angry.

ashemedai avatar Oct 26 '22 08:10 ashemedai

As a heads up, we don't plan to remove the version numbers from our releases (for multiple reasons, including the one @ashemedai calls out above). However, we are working internally on a solution that will allow you to automatically download the latest release without having to remove those numbers. We will post updates here as we have them.

ldennington avatar Oct 27 '22 18:10 ldennington

@zachmantech256 @glubega67

glubega67 avatar Dec 08 '22 18:12 glubega67

@zackman-pro

glubega67 avatar Dec 08 '22 18:12 glubega67